summaryrefslogtreecommitdiff
path: root/usr.bin/split/split.c
Commit message (Collapse)AuthorAgeFilesLines
* Print usage via fprintf(stderr, ..) instead of errx() to avoid progname prefix.Archie Cobbs1999-02-051-2/+3
| | | | | | | Submitted by: Philippe Charnier <charnier@xp11.frmug.org> Notes: svn path=/head/; revision=43625
* Add new option '-p pattern' for splitting files based on matching lines inArchie Cobbs1999-02-011-52/+77
| | | | | | | | | 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 Notes: svn path=/head/; revision=43513
* Cosmetic in err() string.Philippe Charnier1997-08-111-9/+10
| | | | Notes: svn path=/head/; revision=28071
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-291-1/+1
| | | | | | | posix standard on the topic. Notes: svn path=/head/; revision=24360
* This fixes 'split -l NNN foo'. As it stands split willRodney W. Grimes1995-07-071-1/+1
| | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=9427
* BSD 4.4 Lite Usr.bin SourcesRodney W. Grimes1994-05-271-0/+288
Notes: svn path=/cvs2svn/branches/CHRISTOS/; revision=1590