summaryrefslogtreecommitdiff
path: root/usr.bin/sort/init.c
AgeCommit message (Expand)Author
2013-10-18fix unused variable warningschristos
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-05-27Don't recognize "+3" after -- or after the first non-option argument.dholland
2009-11-06Retire __SCCSID. It has only archeological value now. Also retire lintjoerg
2009-09-10Save length of key instead of relying of the weight of the record sep.dsl
2009-09-05Include a local copy of the sradixsort() code from libc.dsl
2009-08-22<space> and <tab> at the start of key fields are supposed to be sorteddsl
2009-08-22Rework the way sort generates sort keys:dsl
2009-08-15Ansify.dsl
2008-04-28Remove clause 3 and 4 from TNF licensesmartin
2006-10-23fix check for field order to allow .0 form in "-k 1.2,1.0"jdolecek
2004-11-03Add (unsigned char) cast to ctype functionsdsl
2004-02-18insertcol() may insert up to two items to clist, so allocate memory accordinglyjdolecek
2004-02-17fix parsing of some +POS -POS variants, as pointed out by sort regressionjdolecek
2004-02-17safer realloc idiomitojun
2004-02-15remove compile-time limit on number of -k options, allocate necessaryjdolecek
2004-02-15rewrite fixit() to duplicate less code, and comment the contents better;jdolecek
2004-02-15g/c redundant setfield() prototypejdolecek
2003-08-07add TNF copyrightjdolecek
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
2002-12-24add extern definition for ncols and clist[] to sort.h, eliminate extrajdolecek
2001-12-31Change some:thorpej
2001-02-19Pull up various cosmetic (mostly whitespace) changes from OpenBSD.jdolecek
2001-01-12use toupper() where appropriatejdolecek
2000-10-16cosmetic change: make setcolumn() static, remove bogus redundant setcolumn() ...jdolecek
2000-10-07Hit sort(1) with a hammer till it compiles.bjh21
2000-10-074.4BSD-Lite2 contrib/sortbjh21