summaryrefslogtreecommitdiff
path: root/usr.bin/sort
AgeCommit message (Collapse)Author
2001-05-01Remove completely redundant introductory sentences in ENVIRONMENT sections.Aaron Campbell
2001-03-20Prevent "sort -f /dev/null" from segfaulting.Todd C. Miller
2001-02-04Bring in some recent fixup's from NetBSD. This allows lines longer than 65522Eric Jackson
to be properly sorted. Many other cleanup's done, and depreciate register. millert@ and deraadt@ ok.
2001-01-19mark remaining signal races which are difficult to fix, and fix a few partiallyTheo de Raadt
2001-01-12moved stests to src/regress/usr.bin/sort which is more appropriateTodd C. Miller
2000-11-09Change all option list specifications to ".Bl -tag -width Ds". Most manAaron Campbell
pages just needed their -width parameter tweaked to "Ds", which provides a nice width of 6 constant characters. For consistency more than anything.
2000-10-18- Section shuffling.Aaron Campbell
- Remove short lines.
2000-07-06Insert more missing .El directives. Our troff really should identify these andAaron Campbell
spit out a warning.
2000-06-30warnx?/errx? paranoia (use "%s" not a bare string unless it is aTodd C. Miller
constant). These are not security holes but it is worth fixing them anyway both for robustness and so folks looking for examples in the tree are not misled into doing something potentially dangerous. Furthermore, it is a bad idea to assume that pathnames will not include '%' in them and that error routines don't return strings with '%' in them (especially in light of the possibility of locales).
2000-04-12Trailing whitespace begone!Aaron Campbell
2000-03-24Correct the HISTORY section to note that this command appeared in Version 5Aaron Campbell
of AT&T UNIX, not Version 6. Verified by strings(1)'ing a .dsk file (PDP-11 executable) containing the v5 sources, obtainable at gatekeeper.dec.com in the directory /pub/DEC/sim/software. Idea from NetBSD PR/4790.
2000-03-11Various cleanups and standardizations.Aaron Campbell
2000-03-05Finish standardizing options list introduction.Aaron Campbell
2000-01-05clarify; suggestions from austin@canuck.comPaul Janzen
1999-11-30Using mkstemp to create permanent files is possible, but thenMarc Espie
the file mode needs tweaking to look like normal file creation. Approved by millert@, noticed by my students at Epita. Thanks guys !
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-06-01s/line/record/; phil@athenaeum.jellybaby.netAaron Campbell
1999-05-24Dynamically allocate memory for structures whose sizes are based on theTodd C. Miller
number of keys given. Closes PR #825.
1998-09-27usr.bin/ man page cleanups, n-sAaron Campbell
1998-07-24put -H in synopsis; aaron@ug.cs.dal.caTheo de Raadt
1998-07-20use warnx()Michael Shalayeff
1998-07-20indentTheo de Raadt
1998-07-20fix usage correctlyTheo de Raadt
1998-07-20consolidate printfsMichael Shalayeff
1998-05-02fix yet another malloc problem.Michael Shalayeff
malloc(2) states quite clear that "malloc() allocates uninitialized space" just one malloc'ed memory is cleared by this fix. do a 'sort -u /dev/null' w/ /etc/malloc.conf -> J> to reproduce.
1997-09-21$OpenBSD$Theo de Raadt
1997-06-3064bit fixes. Some of these are a bit bogus as there were "long"sTodd C. Miller
meant to be file offsets for fseek(3). However, those values could never be > an int anyay so it is not a problem.
1997-06-30Fix an unaligned access on alpha.Todd C. Miller
1997-06-24Add #include for string.h to get declaration for memcpydgregor
1997-06-16Normalize treatment of -n option. Don't know why it was ever special-casedTodd C. Miller
(since it was broken that way). Fixes PR user/220.
1997-06-16Cosmetic cleanup, mostly KNF.Todd C. Miller
1997-01-26for implied stdin, do not corrupt argv[0]Theo de Raadt
1997-01-22Fix some err(3) usage and usage string.Todd C. Miller
1997-01-22Fix off-by-one differently--add an extra byte to buffer (ick).Todd C. Miller
Don't dump core on empty file.
1997-01-22Off by one error. Fixes a core dump.Todd C. Miller
1997-01-20sort(1) test suiteTodd C. Miller
1997-01-20sort(1) from 4.4BSD-lite2 with minor tweaks and bug fixes by me.Todd C. Miller