archie
d36f71e280
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
c3eeb08622
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
charnier
55429790ab
Cosmetic in err() string.
1997-08-11 07:30:22 +00:00
imp
141381e1cb
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
rgrimes
bc359d41a0
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
rgrimes
f9ab90d9d6
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00