summaryrefslogtreecommitdiff
path: root/usr.bin/sort
AgeCommit message (Expand)Author
2021-09-04delete a stray word reported by wilfried dot meindl at gmail dot com;Ingo Schwarze
2020-01-16Usually, -width Fl (which is 10n) is too wide and hence ugly.Ingo Schwarze
2019-12-30Do not perform top-level sort when -c is used with a -k field.Todd C. Miller
2019-09-06More Version 1 AT&T UNIX history.Ingo Schwarze
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-06-02In manpages, don't escape apostrophes as \'; it's rarely what you want.Anthony J. Bentley
2019-05-15re-indent bwscoll() after previous commit; no binary changeIngo Schwarze
2019-05-15Cleanup:Ingo Schwarze
2019-05-13Delete tentacles of LC_NUMERIC support.Ingo Schwarze
2019-02-24short option comes first, followed by the corresponding long optionanton
2017-06-10add missing blanks before several delimiters; found with mandoc -TlintIngo Schwarze
2017-01-04Fix a crash when "sort -m" is given no files. From Julien Ramseier.Todd C. Miller
2016-10-17/var/tmp -> /tmpLawrence Teo
2016-10-11missing .Fl macro, from Jan StaryIngo Schwarze
2016-07-14make several program to use "chown" promise.Sebastien Marie
2015-12-31No need for sysexits.h here.Todd C. Miller
2015-12-11Use %zu to print size_t's rather than casting to int.mmcc
2015-10-24The default modifier should be copied for empty keys even if -b isTodd C. Miller
2015-10-18Do not warn for sort -o if we can't chown the output temporary fileTodd C. Miller
2015-10-17Pledge; OK millert@ tobias@Tim van der Molen
2015-10-14Copy permissions AND ownership when -o will override an input file.Tobias Stoeckmann
2015-10-13Ignore the setuid/setgid/sticky bits when copying the permissions of an inputTim van der Molen
2015-10-13-C and -c allow at most one input file. Ensure this is the case when theTim van der Molen
2015-04-05Document that some sorts uses -b w/o key fields.Todd C. Miller
2015-04-05For the -g flag, treat non-floating point keys as 0, similar to -n.Todd C. Miller
2015-04-05The -b flag should only apply when key fields are specified.Todd C. Miller
2015-04-05Do not permute command line arguments but still support theTodd C. Miller
2015-04-03Only one input file is allowed with the -c/-C flags.Todd C. Miller
2015-04-03The combination of -c and -o is not specified by POSIX. In fact, the callTobias Stoeckmann
2015-04-03If -S has been supplied multiple times, only take last one into account.Tobias Stoeckmann
2015-04-02murder excessive whitespaceTheo de Raadt
2015-04-02Prevent integer overflow when parsing -S argument as percentage.Tobias Stoeckmann
2015-04-02Global variable free_memory is only used in sort.c's set_hw_params,Tobias Stoeckmann
2015-04-02Fixed whitespace issues.Tobias Stoeckmann
2015-04-02Zap some more NULL checks in front of free.Tobias Stoeckmann
2015-04-02No need to strdup environment variable or command line arguments here.Tobias Stoeckmann
2015-04-02Add signal name instead of array index (which is not the signal number)Tobias Stoeckmann
2015-04-02Don't need to include stdint.hTodd C. Miller
2015-04-02No need for the umask() dance now that temp files are createdTodd C. Miller
2015-04-02Don't install signal handlers for SIGQUIT, SIGVTALRM, SIGPROF.Todd C. Miller
2015-04-02When using mmap() we don't need to keep the open fd around, closingTodd C. Miller
2015-04-02closefile() already checks for stdin so no need to check in the caller.Todd C. Miller
2015-04-01Check for overflow when handling buffer size suffixes.Todd C. Miller
2015-04-01Block signals during tmp_files insertion, so that the signal handlerTheo de Raadt
2015-04-01Use reallocarray instead of malloc.Todd C. Miller
2015-04-01Just use sort_reallocarray() everywhere.Todd C. Miller
2015-04-01Revert unintentional commit. This will be revisited shortly.Todd C. Miller
2015-04-01Style nits, remove whitespace at the start of a function.Todd C. Miller
2015-04-01Remove some unneeded NULL checks that don't really help anything.Todd C. Miller
2015-04-01Use exit value 2 for mutually exclusive option errors.Todd C. Miller