Created
January 25, 2013 15:22
-
-
Save AndrewTheTM/4635188 to your computer and use it in GitHub Desktop.
Gets the first and last fields from each record. Works on unequal-length records.
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
gawk 'BEGIN {FS=","};{print $1,",",$NF}' amPaths.csv >amOD.CSV |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment