Mitchell Mebane
efe1850087
dircolors: replace getopts with clap
...
Port argument parsing from getopts to clap.
The only difference I have observed is that clap auto-generates -h and
-V short options for help and version, and there is no way (in clap 2.x)
to disable them.
2021-06-01 19:22:08 -05:00
Sylvestre Ledru
3cf966810f
Merge pull request #2327 from miDeb/sort/debug-invalid
...
sort: fix debug output for zeros / invalid numbers
2021-06-01 20:12:13 +02:00
Michael Debertol
67b83647ac
sort: simplify handling of negative zeros
...
We can simply parse the sign of negative zero as positive, instead of
handling the comparison of zeros differently.
2021-06-01 18:20:24 +02:00
Michael Debertol
06b3092f5f
sort: fix debug output for zeros / invalid numbers
...
We were reporting "no match" when sorting something like "0 ". This is
because we don't distinguish between 0 and invalid lines when sorting.
For debug output we have to get this information back.
2021-06-01 18:18:51 +02:00
Sylvestre Ledru
3625d98fc3
Merge pull request #2326 from tertsdiepraam/ls/hide-ignore-help-text
...
`ls`: add help text and value name for `--hide` and `--ignore`
2021-06-01 11:41:39 +02:00
Terts Diepraam
1dc4ab92d9
ls: add help text and value name for --hide and --ignore
2021-06-01 10:27:50 +02:00
Sylvestre Ledru
448c8419d3
Merge pull request #2325 from tertsdiepraam/fix-sum-help-text
...
`sum`: fix help text for System V argument
2021-06-01 10:25:35 +02:00
Terts Diepraam
c1f2d41a27
sum: fix help text for system v argument
2021-06-01 09:54:49 +02:00
Sylvestre Ledru
a017c1b589
Merge pull request #2323 from miDeb/maint/spellcheck-all
...
maint: actually run spellcheck on all files
2021-05-31 23:36:56 +02:00
Sylvestre Ledru
8618771f2e
Merge pull request #2322 from miDeb/seq/improvements
...
seq: improve compatibility
2021-05-31 23:09:13 +02:00
Michael Debertol
46470fc607
refactor/rmdir: polish spelling
2021-05-31 22:46:06 +02:00
Michael Debertol
41878f1bf4
refactor/pr: polish spelling
2021-05-31 22:46:01 +02:00
Sylvestre Ledru
fef8ba57d7
Merge pull request #2321 from sylvestre/pr-test
...
Fix clippy warnings in the pr tests
2021-05-31 22:42:33 +02:00
Michael Debertol
8de42ed18e
maint: actually run spellcheck on all files
...
**/* must be quoted, otherwise it is expanded by the shell and not
literally passed to cspell.
2021-05-31 22:40:12 +02:00
Sylvestre Ledru
7b7185f916
Fix clippy warnings in the pr tests
2021-05-31 21:20:55 +02:00
Michael Debertol
4cf18e96f3
seq: change default value for -t and remove dubious escape sequences
...
GNU seq does not support -t, but always outputs a newline at the end.
Therefore, our default for -t should be \n.
Also removes support for escape sequences (interpreting a literal "\n"
as a newline). This is not what GNU seq is doing, and unexpected.
2021-05-31 21:20:19 +02:00
Michael Debertol
c78cc65421
seq: make arguments required
...
Right now seq panics when invoked without args.
2021-05-31 21:20:19 +02:00
Michael Debertol
6ccc305513
seq: implement integer sequences
...
If we notice that we can represent all arguments as BigInts, take a
different code path. Just like GNU seq this means we can print an
infinite amount of numbers in this case.
2021-05-31 21:20:12 +02:00
Sylvestre Ledru
badf7aacb7
Merge pull request #2300 from tertsdiepraam/pr
...
Implement `pr` (resurrection of the resurrected PR)
2021-05-31 21:14:57 +02:00
Sylvestre Ledru
15da98d84e
Merge pull request #2315 from rivy/maint.fmt+spell
...
Spell check and correct the project
2021-05-31 21:00:04 +02:00
Sylvestre Ledru
8d714b0ab0
Merge pull request #2317 from deantvv/fix-touch-parse-date
...
Fix touch parse date error
2021-05-31 18:18:44 +02:00
Dean Li
9d8e7b9acb
Fix touch parse date error
...
Now it can parse `touch -d 2000-01-23 file` and add test for parse date
error.
Related to #2311
2021-05-31 22:04:03 +08:00
Roy Ivy III
691f03b9ae
maint/CICD ~ improve visibility of spell check during testing
2021-05-31 08:23:58 -05:00
Roy Ivy III
3f35e0a421
refactor ~ cargo make format
2021-05-31 08:23:58 -05:00
Roy Ivy III
c392cd1cb4
maint/CICD ~ cspell
-check all repository files
2021-05-31 08:23:58 -05:00
Roy Ivy III
ec982bb695
refactor ~ (makefiles) fix spelling + add spell-checker exceptions
2021-05-31 08:23:58 -05:00
Roy Ivy III
0b20997d10
refactor ~ (docs) fix spelling + add spell-checker exceptions
2021-05-31 08:23:58 -05:00
Roy Ivy III
06c53d97fc
refactor ~ (utils) fix spelling + add spell-checker exceptions
2021-05-31 08:23:58 -05:00
Roy Ivy III
23ed32afe9
docs/meta ~ fix spelling + add spell-checker exceptions
2021-05-31 08:23:58 -05:00
Roy Ivy III
3140be7c1b
docs/CICD ~ add spell-checker exceptions
2021-05-31 08:23:58 -05:00
Roy Ivy III
d65eecc034
docs/README ~ fix markdownlint complaints
2021-05-31 08:23:58 -05:00
Roy Ivy III
6232c76451
docs/README ~ fix spelling + add spell-checker exceptions
2021-05-31 08:23:58 -05:00
Roy Ivy III
5182365f8f
docs/polish ~ (GH/stale) add spell-checker exceptions
2021-05-31 08:23:58 -05:00
Roy Ivy III
98aff50d4b
docs/tail ~ fix markdownlint complaints
2021-05-31 08:23:58 -05:00
Roy Ivy III
ceda51dd5c
docs/ls ~ fix spelling + whitespace
2021-05-31 08:23:58 -05:00
Roy Ivy III
1ca44fbbc3
docs/factor ~ fix markdownlint complaints
2021-05-31 08:23:58 -05:00
Roy Ivy III
b418f19c2d
docs/date ~ convert usage text document to a markdown text segment
2021-05-31 08:23:57 -05:00
Roy Ivy III
3fb8a37ace
refactor ~ (bin/coreutils) polish spelling (comments, names, and exceptions)
2021-05-31 08:23:57 -05:00
Roy Ivy III
4e20dedf58
tests ~ refactor/polish spelling (comments, names, and exceptions)
2021-05-31 08:23:57 -05:00
Roy Ivy III
5c9b474cc8
refactor/whoami ~ polish spelling (comments, names, and exceptions)
2021-05-31 08:23:57 -05:00
Roy Ivy III
dff33a0edb
refactor/wc ~ polish spelling (comments, names, and exceptions)
2021-05-31 08:23:57 -05:00
Roy Ivy III
3d42454ebc
refactor/users ~ polish spelling (comments, names, and exceptions)
2021-05-31 08:23:57 -05:00
Roy Ivy III
40e136d092
refactor/uucore ~ polish spelling (comments, names, and exceptions)
2021-05-31 08:23:57 -05:00
Roy Ivy III
954b3436d9
refactor/truncate ~ polish spelling (comments, names, and exceptions)
2021-05-31 08:23:57 -05:00
Roy Ivy III
f6a079a77f
refactor/timeout ~ polish spelling (comments, names, and exceptions)
2021-05-31 08:23:57 -05:00
Roy Ivy III
b1a2f6e044
refactor/tee ~ polish spelling (comments, names, and exceptions)
2021-05-31 08:23:57 -05:00
Roy Ivy III
879ac263bd
refactor/test ~ polish spelling (comments, names, and exceptions)
2021-05-31 08:23:57 -05:00
Roy Ivy III
8e824742a1
refactor/stat ~ polish spelling (comments, names, and exceptions)
2021-05-31 08:23:57 -05:00
Roy Ivy III
451110bba0
refactor/split ~ polish spelling (comments, names, and exceptions)
2021-05-31 08:23:57 -05:00
Roy Ivy III
00a2e17c80
refactor/splice ~ polish spelling (comments, names, and exceptions)
2021-05-31 08:23:57 -05:00