summaryrefslogtreecommitdiff
path: root/usr.bin/sort
AgeCommit message (Expand)Author
2019-09-05Pull up following revision(s) (requested by sevan in ticket #174):martin
2019-07-11Fix typo (s/supress/suppress/).msaitoh
2017-07-03Remove workaround for ancient HTML generation code.wiz
2017-01-10refactor includes, add <sys/stat.h>christos
2016-12-21Add missing full stop.abhinav
2016-06-01Sort options and their descriptions. Sync usage more with man page.wiz
2016-06-01Add the posix -C option (-c but quieter). Fix -R to work properly whenkre
2015-08-05add a description about what was being attempted to failed writes messages.mrg
2013-10-18fix unused variable warningschristos
2013-05-29- Remove redundant argument to non-first `.Nm' macro;wiz
2013-01-20As from today, numeric fields may begin with an optionalapb
2013-01-20When parsing numbers, allow a leading '+'.apb
2011-09-16Use __deadjoerg
2010-12-18Sort sections.wiz
2010-12-18Add an 'l' style for sorting that sorts by the string length of the field.christos
2010-06-06Fix typo in comment.wiz
2010-06-05Rework previous change to fixit() to not trip on option arguments. (Noticeddholland
2010-06-05fixit() needs to know the getopt options list to do its thing correctly.dholland
2010-05-27Don't recognize "+3" after -- or after the first non-option argument.dholland
2010-05-14RETURN VALUES -> EXIT STATUS.jruoho
2010-02-05Don't touch past the end of allocated region. It results segmentationenami
2009-11-06Retire __SCCSID. It has only archeological value now. Also retire lintjoerg
2009-10-09If anyone is stupid enough to feed records longer than 8MB into sort, don'tdsl
2009-10-09When we need to merge more than 16 files, do them in a hierarchy.dsl
2009-10-09Don't give merge an empty file when we detect EOF with nothing in ourdsl
2009-10-07long align records written to temporary files.dsl
2009-10-07When encoding numbers, we can use all 8 bits for exponent values.dsl
2009-09-28Fix borked fix for sort relying on realloc() changing the buffer end.dsl
2009-09-26Move all the fopen() calls out of the record read routines into the callers.dsl
2009-09-19Fix sort -u, PR/42094dsl
2009-09-16Minor tweaks to the key generation for numeric fields.dsl
2009-09-10Save length of key instead of relying of the weight of the record sep.dsl
2009-09-05Now we have our own radix_sort() change the interface so that we passdsl
2009-09-05Include a local copy of the sradixsort() code from libc.dsl
2009-08-23Fix pasto.wiz
2009-08-22Bring nearer to reality.dsl
2009-08-22<space> and <tab> at the start of key fields are supposed to be sorteddsl
2009-08-22Put radixsort() and sradixsort() the correct way around.dsl
2009-08-22Fix generation of unmasked alpha keys.dsl
2009-08-22Only process each number digit once.dsl
2009-08-22Add some comments and clarifications to this inpeneterable code.dsl
2009-08-22Rework the way sort generates sort keys:dsl
2009-08-20Delete more unwanted/unused cruft.dsl
2009-08-18The code that attempted to sort large files by sorting each chunk by thedsl
2009-08-16'depth' is used for the number of bytes into the key that the pointersdsl
2009-08-16Replace all uses of sizeof(TRECHEADER) with REC_DATA_OFFSET - whichdsl
2009-08-15Always add an REC_D char (usually \n) as the last sort key char - wedsl
2009-08-15Remove reference to db.h by using separate ptr+len fields for the onlydsl
2009-08-15linebuf and linebuf_size are only used inside seq() - which also notdsl
2009-08-15Remove the unused 'DBT *key' parameter from seq().dsl