Archie Cobbs
d37fcb98e3
Print usage via fprintf(stderr, ..) instead of errx() to avoid progname prefix.
...
Submitted by: Philippe Charnier <charnier@xp11.frmug.org>
1999-02-05 00:42:14 +00:00
Archie Cobbs
2fa6610f1e
Add new option '-p pattern' for splitting files based on matching lines in
...
the file with a regular expression. Useful for e.g. 'cvs diff' output.
Also compile cleanly with -Wall and fix a few style bugs.
PR: bin/9405
1999-02-01 21:16:45 +00:00
Philippe Charnier
c002b33b60
Cosmetic in err() string.
1997-08-11 07:30:22 +00:00
Warner Losh
1c8af87873
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-29 04:34:07 +00:00
Rodney W. Grimes
a3f8d23a48
This fixes 'split -l NNN foo'. As it stands split will
...
complain about an 'illegal line count' becuase it's looking
at the wrong end pointer (ep) to detect any extra characters
after the NNN.
Submitted by: Rich Murphey <rich@freebsd.org>
This should probably get pulled into 2.0.6 and 2.1.0
1995-07-07 08:23:52 +00:00
Rodney W. Grimes
9b50d90275
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00