Skip to content

Instantly share code, notes, and snippets.

@nishnik
Created July 18, 2018 21:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nishnik/935a367b9bbbaf83711fa19b8d0a79f5 to your computer and use it in GitHub Desktop.
Save nishnik/935a367b9bbbaf83711fa19b8d0a79f5 to your computer and use it in GitHub Desktop.
Finds the minimum and maximum value in 3rd column of a text file
cat crowds_zara01_train.txt | awk -F ' ' '{print $3}' | sort -n | sed -n '1p;$p'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment