Skip to content

Instantly share code, notes, and snippets.

@ky0615
Last active August 29, 2015 14:10
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 ky0615/6b2f6987eae703d8e6d6 to your computer and use it in GitHub Desktop.
Save ky0615/6b2f6987eae703d8e6d6 to your computer and use it in GitHub Desktop.
n行ごとに処理をするワンライナー ref: http://qiita.com/dll7/items/95440b17ea8397231607
cat result.txt | awk 'begin{i=0} {print $1}{i++} {if(i%10==0){print ""}}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment