Closed JayBrown closed 4 years ago
CoreLocationCLI -format "%latitude %longitude\n%address" doesn't add a newline after the longitude.
CoreLocationCLI -format "%latitude %longitude\n%address"
Please see https://stackoverflow.com/questions/3005963/how-can-i-have-a-newline-in-a-string-in-sh
This can be handled as follows:
CoreLocationCLI -format $'%latitude %longitude\n%address'
CoreLocationCLI -format "%latitude %longitude\n%address"
doesn't add a newline after the longitude.