aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/split
Commit message (Collapse)AuthorAgeFilesLines
...
* When "-b" is specified, one could easily create "smaller" filesTom Rhodes2009-01-241-3/+3
| | | | | | | | | | | | that are much larger than expected (given the default size). Change "smaller files" to "split files" which is more in line with what "-b" actually does. PR: 119329 Submitted by: Julian Stacey <jhs@berklix.org> Notes: svn path=/head/; revision=187663
* Add a -n option to split(1) to split files into N chunks rather thanDavid Schultz2008-03-162-12/+78
| | | | | | | | | | | having to specify the right number of bytes. Obtained from: NetBSD Submitted by: Jan Schaumann <jschauma@netmeister.org> PR: 113175 Notes: svn path=/head/; revision=177256
* Markup fixes.Ruslan Ermilov2006-09-291-3/+9
| | | | Notes: svn path=/head/; revision=162792
* Add support for splitting at gigabyte boundaries. [1]Giorgos Keramidas2006-08-102-8/+20
| | | | | | | | | | | | | | | | | Also make both lowercase and uppercase suffix letters work as byte-count suffixes, i.e. the following two commands are equivalent now: % split -b 4m foo % split -b 4M foo Submitted by: Roman Divacky [1] Lots of help by: cperciva Reviewed by: cperciva MFC after: 1 week Notes: svn path=/head/; revision=161172
* Update usage & SYNOPSIS and clarify that input files are not removed.Giorgos Keramidas2006-08-082-18/+30
| | | | | | | | | | | | | | Sort getopt option handling of -p too, while here. The changes are adapted from a patch by Ruslan Ermilov, posted as followup to docs/33852. PR: docs/33852 Submitted by: Gary W. Swearingen <swear@blarg.net> MFC after: 1 week Notes: svn path=/head/; revision=161106
* -mdoc sweep.Ruslan Ermilov2005-11-181-4/+4
| | | | Notes: svn path=/head/; revision=152568
* Include option-argument names in the list in the DESCRIPTION section.Tim J. Robbins2005-08-301-12/+4
| | | | | | | Remove a non-bug from the BUGS section. Notes: svn path=/head/; revision=149618
* Remove undocumented historic support for treating "-" as an optionTim J. Robbins2005-08-301-14/+8
| | | | | | | instead of a file operand; this is not compatible with POSIX. Notes: svn path=/head/; revision=149616
* Remove the hack that varied the first character of the output file nameTim J. Robbins2005-08-212-15/+5
| | | | | | | | | | | if none was specified on the command line. This is not permitted by POSIX, and no longer needed now that we have the -a option. PR: 85099 Submitted by: Toby Peterson (Apple Computer) Notes: svn path=/head/; revision=149345
* Added the EXIT STATUS section where appropriate.Ruslan Ermilov2005-01-171-1/+1
| | | | Notes: svn path=/head/; revision=140368
* Fix document year.Tim J. Robbins2004-07-111-1/+1
| | | | | | | Noticed by: simon Notes: svn path=/head/; revision=131980
* Add fairly standard ENVIRONMENT and DIAGNOSTICS sections.Tim J. Robbins2004-07-111-1/+12
| | | | Notes: svn path=/head/; revision=131979
* 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
* Sort sections.Tim J. Robbins2002-06-031-12/+12
| | | | Notes: svn path=/head/; revision=97766
* Correct HISTORY section - split(1) appeared at least as early as V3.Tim J. Robbins2002-06-031-1/+1
| | | | Notes: svn path=/head/; revision=97765
* mdoc(7) police: use .Fl to denote stdin.Ruslan Ermilov2002-05-301-1/+1
| | | | Notes: svn path=/head/; revision=97545
* Claim conformance to IEEE Std 1003.1-2001.Tim J. Robbins2002-05-271-0/+6
| | | | | | | See also csplit(1). Notes: svn path=/head/; revision=97336
* Allow "-" to be specified as an operand as well as an option.Tim J. Robbins2002-05-272-2/+10
| | | | | | | 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-012-11/+49
| | | | | | | | 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-122-12/+10
| | | | Notes: svn path=/head/; revision=87765
* Use CFLAGS, not COPTS, in the Makefile. bsd.prog.mk conveniently addsDima Dorfman2001-09-051-1/+2
| | | | | | | | | | | | COPTS towards the end of final CFLAGS so that it can be used to override Makefile and other defaults. Using it in Makefiles risks having options set using it clobbered when somebody uses it on the command line. Approved by: bde Notes: svn path=/head/; revision=83112
* Remove whitespace at EOL.Dima Dorfman2001-07-151-1/+1
| | | | Notes: svn path=/head/; revision=79755
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-4/+4
| | | | Notes: svn path=/head/; revision=68963
* 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
* remove trailing periods from SEE ALSO.Ben Smithurst2000-11-151-1/+1
| | | | Notes: svn path=/head/; revision=68756
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50477
* 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-013-52/+94
| | | | | | | | | 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-273-0/+392
Notes: svn path=/cvs2svn/branches/CHRISTOS/; revision=1590