-
-
Save anirudh-ramesh/0a7500ccd7f7ceaa4b0a18ff0a03e00b 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