summaryrefslogtreecommitdiffstats
path: root/usr.bin/sort
Commit message (Collapse)AuthorAgeFilesLines
* Fix header guards.eadler2013-06-171-2/+2
| | | | | | This was ready about the same time as r251862 so just make one final cleanup Submitted by: dt71@gmx.com
* Clean up -Wheader-guard warnings.pluknet2013-06-171-1/+1
| | | | | | Submitted by: <dt71@gmx.com> MFC after: 3 days X-MFC with: r251848
* - Update Oleg Moskalenko's email addressgabor2013-06-0215-15/+15
| | | | Requested by: Oleg Moskalenko <mom040267@gmail.com>
* - Remove forgotten commented out debug codegabor2013-01-271-15/+0
| | | | | Submitted by: Christoph Mallon <christoph.mallon@gmx.de> Reviewed by: Oleg Moskalenko <oleg.moskalenko@citrix.com>
* - Simplify and unify diagnostic and error message handlinggabor2013-01-271-12/+8
| | | | | Submitted by: Christoph Mallon <christoph.mallon@gmx.de> Reviewed by: Oleg Moskalenko <oleg.moskalenko@citrix.com>
* - Change the memory heuristics to an actually working onegabor2012-12-201-19/+15
| | | | | Submitted by: Oleg Moskalenko <oleg.moskalenko@citrix.com> Prodded by: kib
* - Use unsigned int for values obtained with sysctlbyname(). This fixesgabor2012-12-172-4/+9
| | | | | | | sparc64 performance problems. Submitted by: Oleg Moskalenko <oleg.moskalenko@citrix.com> Tested by: trasz
* - Portability changes for ARMgabor2012-11-019-70/+74
| | | | | | - Allow larger sort memory on 64-bit platforms Submitted by: Oleg Moskalenko <oleg.moskalenko@citrix.com>
* More -Wmissing-variable-declarations fixes.ed2012-10-191-1/+1
| | | | | | | | | | | | | | | | In addition to adding `static' where possible: - bin/date: Move `retval' into extern.h to make it visible to date.c. - bin/ed: Move globally used variables into ed.h. - sbin/camcontrol: Move `verbose' into camcontrol.h and fix shadow warnings. - usr.bin/calendar: Remove unneeded variables. - usr.bin/chat: Make `line' local instead of global. - usr.bin/elfdump: Comment out unneeded function. - usr.bin/rlogin: Use _Noreturn instead of __dead2. - usr.bin/tset: Pull `Ospeed' into extern.h. - usr.sbin/mfiutil: Put global variables in mfiutil.h. - usr.sbin/pkg: Remove unused `os_corres'. - usr.sbin/quotaon, usr.sbin/repquota: Remove unused `qfname'.
* Remove WARNS=6 lines.ed2012-10-181-2/+0
| | | | WARNS=6 is already implied at this point.
* - Remove GNU sort and the WITH_GNU_SORT knobgabor2012-10-131-8/+0
|
* Remove trailing whitespace.joel2012-09-091-2/+2
|
* - Change --nthreads parameter to --parallel for GNU compatibilitygabor2012-07-045-13/+21
| | | | | | | - Change default sort method to mergesort, which has a better worst case performance than qsort Submitted by: Oleg Moskalenko <oleg.moskalenko@citrix.com>
* - Switch to BSD sort as default sort. GNU sort will still be installed asgabor2012-06-271-1/+1
| | | | | | | | | "gnusort". Most of the BSD sort development work was done by Oleg Moskalenko <oleg.moskalenko@citrix.com>. - GNU grep can be set to default by setting WITH_GNU_GREP. It will cause BSD sort to be installed as "bsdsort". Portbuild tested by: linimon
* - Disable threaded sort by defaultgabor2012-06-271-2/+2
| | | | - Fix typo in the NLS support
* - Remove the UNUSED_ARG macro and use __unused in argument listsgabor2012-06-082-17/+9
| | | | | Reviewed by: dim MFC after: 3 days
* In usr.bin/sort, use another method of silencing warnings about unuseddim2012-06-081-1/+1
| | | | | | | arguments, which does not trigger self-assignment warnings in certain circumstances (for example, using clang with ccache). MFC after: 3 days
* mdoc: sort sections into conventional order.joel2012-05-261-21/+21
|
* - Only use multi-threading for large filesgabor2012-05-257-23/+90
| | | | | | | | - Do not use mmap() by default; it can be enabled by --mmap - Add some minor optimizations for -u - Update manual page according to the changes Submitted by: Oleg Moskalenko <oleg.moskalenko@citrix.com>
* - Fix -o option that was broken by my clang compile fixgabor2012-05-171-3/+2
| | | | Submitted by: Oleg Moskalenko <oleg.moskalenko@citrix.com>
* - Eliminate initializations if global variables. Compilers are notgabor2012-05-145-17/+17
| | | | | | required to optimize these so it may result in larger binary size. Pointed out by: kib
* - Update catalogsgabor2012-05-142-6/+18
|
* - Fix build with clanggabor2012-05-142-22/+19
|
* Add a BSD-licensed sort rewrite that was started by me and later completedgabor2012-05-1118-0/+7795
| | | | | | | | | with the major functionality and optimizations by Oleg Moskalenko. It is compatible with the latest version of POSIX and the current GNU sort version that we have in base. Beside this, it implements all the functionality introduced in later versions of GNU sort. For now, it will be installed as "bsdsort", keeping GNU sort as the default sort implementation.
* Remove it in favour of GNU sortache2002-04-081-11/+0
|
* Use the new features of cdefs.h.obrien2002-04-061-1/+1
|
* Fix style.obrien2002-04-062-7/+2
|
* Remove old sort files to _actually_ build it from contrib sourcesache2002-04-0613-3384/+0
| | | | Forgotten by: des
* Build a working version of sort(1) from contrib. Use netbsd.h as a hackdes2002-04-062-2/+11
| | | | | to avoid bringing the sources off the vendor branch just to #ifdef out the RCS and SCCS IDs.
* style(9) cosmetique of my changesache2002-04-061-18/+18
|
* Add note about double-character letters like "ss" into BUGS sectionache2002-04-051-0/+3
| | | | Reviewed by: Mike DeGraw-Bertsch <mbertsch@radioactivedata.org>
* Cast ctype macros char arg to u_char to prevent sign extensionache2002-04-041-6/+6
|
* For -n use decimal point from localeache2002-04-041-1/+5
|
* Remove __Pache2002-04-047-52/+49
|
* Implement collating sortache2002-04-041-9/+29
|
* Fix to handle REC_D > 127 and fold case sorting of high lettersache2002-04-031-33/+132
| | | | (linear sorting still assumed, no collating support yet).
* Uncomment now implemented part of -d descriptionache2002-03-311-2/+2
|
* Remove \n from __COPYRIGHT to shut assembler warningache2002-03-311-1/+1
|
* Remove double SINGL_FLD and SEP_FLAG initializationache2002-03-271-1/+0
|
* Fix the case when high letters becomes missing from fold tablesache2002-03-251-4/+9
| | | | for some locales
* Fix the case when record separator is 'Z' letterache2002-03-251-2/+6
| | | | Sense high spaces for -d option too
* Remove double REC_D assignmentache2002-03-251-2/+2
| | | | Cast REC_D optarg assignment to (u_char) to prevent out of bounds indexing
* Make this compile on FreeBSD. Sort out VCS tags, fix warnings.markm2002-03-2410-21/+502
|
* Null one-line entry to resurrect this from the Attic. The real commitmarkm2002-03-221-0/+1
| | | | will follow.
* This commit was generated by cvs2svn to compensate for changes in r92948,markm2002-03-2213-0/+2778
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Vendor import NETBSD's sort(1). This will be a replacement formarkm2002-03-2214-159/+3068
| | | | | | | | our GNU sort, as discussed 6 months or more ago.
* | kill the undeadpeter1997-07-131-310/+0
|/
* Finish importing Lite2's src/usr.bin, except for ex, diff, grep, mail,bde1997-07-061-0/+310
| | | | | pascal and vmstat.sparc. All changed files on the vendor branch should already have been imported.
* recording cvs-1.6 file deathpeter1995-12-301-310/+0
|
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+310
OpenPOWER on IntegriCloud