3 examples for split

{{ score }}
  # split a file by number of lines 
split -l 5000 filename
        
{{ score }}
  # split a gz file into equal sized gz pieces from stdin
zcat bigfile.gz | split -d --filter='gzip > $FILE.gz' --number=r/32 - /output/dir
        
{{ score }}
  # Split a file whenever it matches a pattern (empty line, here)
split -p'^$' file_to_split