Created
March 18, 2017 14:33
-
-
Save vikjam/165da67a1c61c7e1db4468cb4d6b6e11 to your computer and use it in GitHub Desktop.
Use awk to subset a CSV
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
# http://stackoverflow.com/questions/6491532/how-to-subset-a-file-select-a-numbers-of-rows-or-columns | |
cat largefile | awk 'NR >= 10000 && NR <= 100000 { print }' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment