Created
June 5, 2017 06:49
-
-
Save bitmess/aba991eef0ea98c8483a8622f30ad6a3 to your computer and use it in GitHub Desktop.
fetch csv value and form NSString
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
cat GPS.csv | awk -F, '{print "@{@\"lat\":@"$4",@\"lng\":","@"$5",@\"speed\":","@("$10")},"}' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment