summaryrefslogtreecommitdiffstats
path: root/usr.bin/sort
Commit message (Collapse)AuthorAgeFilesLines
* mdoc: use An macro.joel2015-01-041-2/+2
|
* Convert to usr.bin/ to LIBADDbapt2014-11-251-4/+2
| | | | Reduce overlinking
* Change LDFLAGS to LDADD in order to allow static builds. This is moresbruno2014-11-151-2/+4
| | | | | | | | | | proper way to ensure that the command line compile works the way we intend. Add explicity DPADD statemens on LIBMD and LIBPTHREAD depending on which options are used in the build. Reviewed by: andrew MFC after: 2 weeks
* Make sure to not skip any argument when converting from deprecatedbapt2014-10-021-1/+1
| | | | | | | | | +POS1, -POS2 to -kPOS1,POS2, so that sort +0n gets translated to sort -k1,1n as it is expected PR: 193994 Submitted by: rodrigo MFC after: 3 days
* Remove trailing '.' from See Also section.gjb2014-07-301-1/+1
| | | | | MFC after: 3 days Sponsored by: The FreeBSD Foundation
* Use src.opts.mk in preference to bsd.own.mk except where we need stuffimp2014-05-061-1/+1
| | | | from the latter.
* Fix spelling error.bdrewery2014-04-251-1/+1
| | | | MFC after: 3 days
* Various style(9) fixes and typos in grep, sort and patch.pfg2014-04-218-15/+15
| | | | MFC after: 3 days
* Convert sort to using newer MK_ convention.imp2014-04-051-2/+2
|
* In usr.bin/sort/radixsort.c, pop_ls_mt() is only referenced ifdim2013-12-221-4/+4
| | | | | | | SORT_THREADS is defined, so make the whole function conditional, instead of just the pthread calls in it. MFC after: 3 days
* 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
OpenPOWER on IntegriCloud