summaryrefslogtreecommitdiff
path: root/usr.bin/split/split.c
Commit message (Collapse)AuthorAgeFilesLines
* Respect locale settings from the environment.Tim J. Robbins2004-07-111-0/+3
| | | | Notes: svn path=/head/; revision=131978
* Support larger files (at least 64-bit offsets) by using off_t instead ofTim J. Robbins2002-07-151-8/+21
| | | | | | | int to store offsets. Notes: svn path=/head/; revision=100024
* Remove <sys/types> where we use <sys/param> already.Juli Mallett2002-06-151-8/+5
| | | | | | | protoize. Notes: svn path=/head/; revision=98253
* Allow "-" to be specified as an operand as well as an option.Tim J. Robbins2002-05-271-1/+3
| | | | | | | SUSV3 requires something like "split -- -" to work. Document the "-" operand. Notes: svn path=/head/; revision=97334
* Avoid overflowing `fname' if the file name prefix given on the commandTim J. Robbins2002-05-271-1/+2
| | | | | | | | | line is too long. Obtained from: OpenBSD Notes: svn path=/head/; revision=97332
* remove __PWarner Losh2002-03-221-4/+4
| | | | Notes: svn path=/head/; revision=92922
* Add -a option (SUSv3) to split(1).Mike Barcroft2002-02-011-7/+31
| | | | | | | | Submitted by: Tim J. Robbins <tim@robbins.dropbear.id.au> MFC after: 1 month Notes: svn path=/head/; revision=90048
* WARNS=2 fixes, use __FBSDID, remove GCC-specific flags.Mark Murray2001-12-121-11/+10
| | | | Notes: svn path=/head/; revision=87765
* Add/fix the ability to split a file larger than 2 gigabytes.John W. De Boskey2000-11-191-4/+6
| | | | | | | | | | | Added $FreeBSD tag (in the way the already present sccsid is done). I've been told the rcsid stuff may be of dubious value so I'm curious to know if folks (still) use it. Submitted by: Brad Chisholm <blc@bsdwins.com> Notes: svn path=/head/; revision=68887
* 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