summaryrefslogtreecommitdiffstats
path: root/usr.bin/sort
AgeCommit message (Expand)AuthorFilesLines
2020-01-16Usually, -width Fl (which is 10n) is too wide and hence ugly.schwarze1-3/+3
2019-12-30Do not perform top-level sort when -c is used with a -k field.millert1-2/+3
2019-09-06More Version 1 AT&T UNIX history.schwarze1-3/+3
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt1-3/+3
2019-06-02In manpages, don't escape apostrophes as \'; it's rarely what you want.bentley1-5/+9
2019-05-15re-indent bwscoll() after previous commit; no binary changeschwarze1-69/+69
2019-05-15Cleanup:schwarze5-144/+21
2019-05-13Delete tentacles of LC_NUMERIC support.schwarze4-106/+9
2019-02-24short option comes first, followed by the corresponding long optionanton1-3/+3
2017-06-10add missing blanks before several delimiters; found with mandoc -Tlintschwarze1-10/+10
2017-01-04Fix a crash when "sort -m" is given no files. From Julien Ramseier.millert1-2/+5
2016-10-17/var/tmp -> /tmplteo2-6/+6
2016-10-11missing .Fl macro, from Jan Staryschwarze1-3/+7
2016-07-14make several program to use "chown" promise.semarie1-3/+3
2015-12-31No need for sysexits.h here.millert2-4/+2
2015-12-11Use %zu to print size_t's rather than casting to int.mmcc1-3/+3
2015-10-24The default modifier should be copied for empty keys even if -b ismillert1-5/+6
2015-10-18Do not warn for sort -o if we can't chown the output temporary filemillert1-6/+4
2015-10-17Pledge; OK millert@ tobias@tim1-33/+70
2015-10-14Copy permissions AND ownership when -o will override an input file.tobias1-4/+8
2015-10-13Ignore the setuid/setgid/sticky bits when copying the permissions of an inputtim1-2/+2
2015-10-13-C and -c allow at most one input file. Ensure this is the case when thetim1-6/+6
2015-04-05Document that some sorts uses -b w/o key fields.millert1-1/+12
2015-04-05For the -g flag, treat non-floating point keys as 0, similar to -n.millert1-6/+18
2015-04-05The -b flag should only apply when key fields are specified.millert3-13/+24
2015-04-05Do not permute command line arguments but still support themillert2-7/+24
2015-04-03Only one input file is allowed with the -c/-C flags.millert1-1/+5
2015-04-03The combination of -c and -o is not specified by POSIX. In fact, the calltobias2-36/+17
2015-04-03If -S has been supplied multiple times, only take last one into account.tobias1-4/+7
2015-04-02murder excessive whitespacederaadt3-8/+8
2015-04-02Prevent integer overflow when parsing -S argument as percentage.tobias1-1/+7
2015-04-02Global variable free_memory is only used in sort.c's set_hw_params,tobias3-6/+7
2015-04-02Fixed whitespace issues.tobias2-5/+5
2015-04-02Zap some more NULL checks in front of free.tobias2-11/+7
2015-04-02No need to strdup environment variable or command line arguments here.tobias1-5/+5
2015-04-02Add signal name instead of array index (which is not the signal number)tobias1-2/+2
2015-04-02Don't need to include stdint.hmillert1-2/+1
2015-04-02No need for the umask() dance now that temp files are createdmillert1-30/+19
2015-04-02Don't install signal handlers for SIGQUIT, SIGVTALRM, SIGPROF.millert1-3/+3
2015-04-02When using mmap() we don't need to keep the open fd around, closingmillert1-9/+3
2015-04-02closefile() already checks for stdin so no need to check in the caller.millert1-3/+2
2015-04-01Check for overflow when handling buffer size suffixes.millert1-2/+20
2015-04-01Block signals during tmp_files insertion, so that the signal handlerderaadt1-1/+7
2015-04-01Use reallocarray instead of malloc.millert1-2/+3
2015-04-01Just use sort_reallocarray() everywhere.millert4-19/+7
2015-04-01Revert unintentional commit. This will be revisited shortly.millert1-3/+1
2015-04-01Style nits, remove whitespace at the start of a function.millert2-6/+4
2015-04-01Remove some unneeded NULL checks that don't really help anything.millert1-128/+109
2015-04-01Use exit value 2 for mutually exclusive option errors.millert1-5/+11
2015-04-01Fix typo in revision 1.55millert1-2/+2