summaryrefslogtreecommitdiff
path: root/usr.bin/split
AgeCommit message (Collapse)Author
2015-02-28Reduce usage of predefined strings in manpages.Anthony J. Bentley
Predefined strings are not very portable across troff implementations, and they make the source much harder to read. Usually the intended character can be written directly. No output changes, except for two instances where the incorrect escape was used in the first place. tweaks + ok schwarze@
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
2014-05-27combine the extensions notes;Jason McIntyre
2010-09-03add an EXIT STATUS section for /usr/bin;Jason McIntyre
2010-07-22document exit returns; from daniel dickmanJason McIntyre
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-02-08bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewJason McIntyre
updates to follow;
2008-01-05saying that -b and -l create smaller files can be misleading - the authorJason McIntyre
was probably thinking of the fact that files created would be smaller than the original file split; instead, just say that they create files. this comes from freebsd pr#119329, submitted by Julian Stacey. his fix was to introduce the notion of "split files", but the idea of "create split files" can be just as confusing, so i've gone with removing the original, ambiguous, adjective.
2007-10-20an usage message should fit on a 80-column displayIgor Sobrado
ok jmc@
2007-09-25handle empty strings returned by fgetsCharles Longeau
ok ray@
2007-09-05The rewritten newfile() algorithm introduced in rev 1.12 wasTodd C. Miller
incorrect. This simpler version from Pete Honeyman passes all the tests I thow at it. OK deraadt@ some time ago.
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-30- use a consistent text for STANDARDSJason McIntyre
- note which options are extensions to POSIX
2007-01-24+.Xr csplit 1 ,Jason McIntyre
from Matthias Kilian;
2006-08-10Check for int oflow w/ -b option and unit suffixes, make usage() __dead,Todd C. Miller
use ssize_t not long for read/write length. OK beck@
2006-08-10use .Sq for single letters;Jason McIntyre
2006-08-09Add -a option as per single unix. Rewrote the code to generateTodd C. Miller
file names to be less blecherous, though it is still not pretty. OK beck@, with man page help from jmc@
2006-08-09- indicate that -b, -l, and -p are mutually exclusiveJason McIntyre
- tidy up the text somewhat - make it clear that the original file is not changed mostly this is based on a freebsd pr (33852), submitted by gary w. swearingen
2005-09-07split.1:Jason McIntyre
add the relevant arguments to the options synopsis for -b and -l; tidy up the formatting of [-b byte_count[k|m]]; make SYNOPSIS arg for -l match its description; split.c: sync usage();
2003-06-10mostly ansi cleanup; pval okTheo de Raadt
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2002-12-08GNU semantics say that if optstring begins with '-' thenTodd C. Miller
each non-option shall be treated as arguments to option '\1'. BSD getopt match '-' in optstring with a '-' on the command line. This is used to support deprecated options like "su -" that would otherwise prevent the use of getopt(). Resolving this simply requires that the leading '-' be moved somewhere else (I moved it to the end of optstring) since position within optstring is not meaningful.
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2002-01-24fix the history refsMichael Shalayeff
2001-09-06Initial idea from aaron@: Last char of .Xr group in SEE ALSO section shouldMike Pechkin
be a single digit. Powered by mantoya@. millert@ ok.
2000-11-10- Section shuffling: comply to the section ordering outlined in mdoc(7).Aaron Campbell
- Some .Nm trimming. - .Sh AUTHOR -> .Sh AUTHORS - Other miscellaneous fixes here and there.
2000-03-11Various cleanups and standardizations.Aaron Campbell
1999-12-04oflowTheo de Raadt
1999-06-05- remove trailing white spaceAaron Campbell
- remove arguments from .Os macros - remove arguments from .Nm macros, where appropriate - some more Dq/Sq/Ql insanity - still lots to do in the usr.bin tree... :/
1999-02-04From FreeBSD:Todd C. Miller
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 use defines from <sysexits.h>.
1997-09-21$OpenBSD$Theo de Raadt
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-06-26rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt