context-split is a program for dividing up a file into a series of smaller files on regex boundaries.
seki-strombrg> context-split -h
usage:
/Dcs/seki/strombrg/bin/context-split [-s separator] [-n name] [-z length]
	-s specifies what regex should separate output files
	-n specifies how output files are named (default: numeric)
	-z specifies how long numbered filenames (if any) should be
	-i include line containing separator in output files
	operations are always performed on stdin
  • Download here


    1905

    Back to Dan's tech tidbits

    You can e-mail the author with questions or comments: