Skip to content

Instantly share code, notes, and snippets.

@xemoe
Created June 7, 2015 07:58
Show Gist options
  • Save xemoe/7a820d0ceb73104c2bf8 to your computer and use it in GitHub Desktop.
Save xemoe/7a820d0ceb73104c2bf8 to your computer and use it in GitHub Desktop.
Split by line + bytes

Split with option -C, --line-bytes=SIZE put at most SIZE bytes of lines per output file

seq -w 1 200 > k; split -C100 k; head xa? -n200|less
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment