summaryrefslogtreecommitdiffstats
path: root/usr.bin/split
Commit message (Collapse)AuthorAgeFilesLines
* Avoid signed overflow in error handling code.eadler2013-05-211-1/+3
| | | | Reviewed by: cperciva, bjk
* Bump .Dd for recent content change.eadler2013-05-101-1/+1
| | | | Reported by: delphij
* Implement 'split -d' which allows a numeric suffix instead of aneadler2013-05-102-5/+29
| | | | | | | | | alphabetic one. PR: bin/116209 Submitted by: Marcin Gryszkalis <mg@fork.pl> (adapted from) Reviewed by: will MFC after: 1 week
* Fix warning when compiling with gcc46:eadler2012-01-101-3/+0
| | | | | | | error: variable 'defname' set but not use Approved by: dim MFC after: 3 day
* Add missing static keywords to split(1)ed2011-11-061-10/+10
|
* Remove the advertising clause from UCB copyrighted files in usr.bin. Thisjoel2010-12-112-8/+0
| | | | | | | | | is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change Also add $FreeBSD$ to a few files to keep svn happy. Discussed with: imp, rwatson
* Correct spelling mistake, int -> intogavin2010-09-021-2/+2
| | | | MFC after: 3 days
* When "-b" is specified, one could easily create "smaller" filestrhodes2009-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>
* Add a -n option to split(1) to split files into N chunks rather thandas2008-03-162-12/+78
| | | | | | | | having to specify the right number of bytes. Obtained from: NetBSD Submitted by: Jan Schaumann <jschauma@netmeister.org> PR: 113175
* Markup fixes.ru2006-09-291-3/+9
|
* Add support for splitting at gigabyte boundaries. [1]keramida2006-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
* Update usage & SYNOPSIS and clarify that input files are not removed.keramida2006-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
* -mdoc sweep.ru2005-11-181-4/+4
|
* Include option-argument names in the list in the DESCRIPTION section.tjr2005-08-301-12/+4
| | | | Remove a non-bug from the BUGS section.
* Remove undocumented historic support for treating "-" as an optiontjr2005-08-301-14/+8
| | | | instead of a file operand; this is not compatible with POSIX.
* Remove the hack that varied the first character of the output file nametjr2005-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)
* Added the EXIT STATUS section where appropriate.ru2005-01-171-1/+1
|
* Fix document year.tjr2004-07-111-1/+1
| | | | Noticed by: simon
* Add fairly standard ENVIRONMENT and DIAGNOSTICS sections.tjr2004-07-111-1/+12
|
* Respect locale settings from the environment.tjr2004-07-111-0/+3
|
* Support larger files (at least 64-bit offsets) by using off_t instead oftjr2002-07-151-8/+21
| | | | int to store offsets.
* Remove <sys/types> where we use <sys/param> already.jmallett2002-06-151-8/+5
| | | | protoize.
* Sort sections.tjr2002-06-031-12/+12
|
* Correct HISTORY section - split(1) appeared at least as early as V3.tjr2002-06-031-1/+1
|
* mdoc(7) police: use .Fl to denote stdin.ru2002-05-301-1/+1
|
* Claim conformance to IEEE Std 1003.1-2001.tjr2002-05-271-0/+6
| | | | See also csplit(1).
* Allow "-" to be specified as an operand as well as an option.tjr2002-05-272-2/+10
| | | | SUSV3 requires something like "split -- -" to work. Document the "-" operand.
* Avoid overflowing `fname' if the file name prefix given on the commandtjr2002-05-271-1/+2
| | | | | | line is too long. Obtained from: OpenBSD
* remove __Pimp2002-03-221-4/+4
|
* Add -a option (SUSv3) to split(1).mike2002-02-012-11/+49
| | | | | Submitted by: Tim J. Robbins <tim@robbins.dropbear.id.au> MFC after: 1 month
* WARNS=2 fixes, use __FBSDID, remove GCC-specific flags.markm2001-12-122-12/+10
|
* Use CFLAGS, not COPTS, in the Makefile. bsd.prog.mk conveniently addsdd2001-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
* Remove whitespace at EOL.dd2001-07-151-1/+1
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-4/+4
|
* Add/fix the ability to split a file larger than 2 gigabytes.jwd2000-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>
* remove trailing periods from SEE ALSO.ben2000-11-151-1/+1
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Print usage via fprintf(stderr, ..) instead of errx() to avoid progname prefix.archie1999-02-051-2/+3
| | | | Submitted by: Philippe Charnier <charnier@xp11.frmug.org>
* Add new option '-p pattern' for splitting files based on matching lines inarchie1999-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
* Cosmetic in err() string.charnier1997-08-111-9/+10
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-1/+1
| | | | posix standard on the topic.
* This fixes 'split -l NNN foo'. As it stands split willrgrimes1995-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
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-273-0/+392
OpenPOWER on IntegriCloud