Commit Graph

22 Commits

Author SHA1 Message Date
Michael Forney
22921a859f Fix various lint warnings in manuals
Fix "new sentence, new line" warnings throughout so that formatters
can produce correct spacing between sentences.

  Remove unnecessary Ns macros. These are not necessary for delimeters,
  which get special treatment.

  Fix date in manual. The contents were last modified on 2016-12-03,
  so use that instead of the invalid date.

  Fix escape sequence for `\<` and `\>`.

  Remove spurious `\\n` escape for the null-command.
2020-03-01 15:32:11 -08:00
1f6f1a8f4b Forgot to bump date for sort(1) manpage 2016-02-17 08:43:15 +00:00
65159194fb Mark sort(1) as POSIX compliant 2016-02-17 08:39:11 +00:00
fad1d35357 Add -d, -f and -i flags to sort(1)
Here's the patch with updated manpage and usage().
2016-02-16 09:56:48 +00:00
e51a2e6d2f Use ISO-date-format in manpages
The one specified by mdoc is hard to read for non-native
speakers from countries which read the date day-first (like
Germany, Greece, North-Korea, Swamp,...).
This is also consistent with how we generally specify dates
2015-10-08 17:15:08 +02:00
49e27c1b0c Add -m and -o flags to sort(1)
Sort comes pretty much automatically, as no script relies on the
undefined behaviour of the input _not_ being sorted, we might as well
sort the sorted input already.
The only downside is memory usage, which can be an issue for large
The o-flag was trivial to implement.
2015-03-22 23:39:48 +01:00
Jakob Kramer
fdcfbba96c sort: minor manual page adjustments 2015-02-01 21:46:58 +01:00
Hiltjo Posthuma
22f4e05b5b man pages: improve consistency 2015-02-01 20:52:28 +01:00
Hiltjo Posthuma
d0d852dd42 sort.1: fix warning 2015-02-01 19:02:48 +01:00
Jakob Kramer
331b2729d5 sort manpage: fix key definition 2015-02-01 17:49:02 +00:00
0934e7f6ed Add .Os sbase and sed replace to .Os sbase $(VERSION) in make install 2015-01-31 19:37:03 +00:00
Hiltjo Posthuma
4a920a5960 remove sbase-VERSION from man page, fix sponge.1 date 2015-01-31 14:20:02 +01:00
Hiltjo Posthuma
4e7cbbee28 sort.1: convert to mandoc 2015-01-30 23:49:13 +01:00
Michael Forney
cb427d553a sort: Implement -c and -C flags 2014-11-23 19:42:14 +00:00
Jakob Kramer
7d1fd2621e add -t flag to sort 2014-06-02 13:35:59 +01:00
Jakob Kramer
6f7e9a5078 sort: add support for "per-keydef" flags 2014-05-06 16:21:50 +01:00
Jakob Kramer
814b04e710 sort: document -b 2014-05-04 00:16:24 +01:00
Jakob Kramer
98a12cc146 sort: add -k, fix -u
Options  that are  specific to  a  single  key  definition are not
supported (e.g. "sort -k 2,3n -k 4,4").  Should you try to specify
such definitions, sort will  return with EXIT_FAILURE and an error
message.   Instead, all key definitions exclusively use the global

It always behaves like -b was set.
2014-04-18 13:43:32 +01:00
544857623b Add -n support to sort(1) 2013-12-12 13:10:59 +00:00
Connor Lane Smith
92baf1a5c9 add uname, thanks hiltjo 2011-06-02 20:32:05 +01:00
Connor Lane Smith
16a0ee098c sort -u 2011-06-02 13:09:30 +01:00
Connor Lane Smith
9f9ea07e6c add sort 2011-06-02 13:03:34 +01:00