Created
October 24, 2010 22:13
-
-
Save mindreframer/644073 to your computer and use it in GitHub Desktop.
splitting a file by comma, printing uniq numerical sorted values
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
cat some_file.txt |grep -v GETT| awk '{split($0,array,",")} {print array[2]}'|sort -n |uniq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment