Terts Diepraam
c5792a4c47
tests/ls: add tests for colors
2021-03-17 23:15:03 +01:00
Sylvestre Ledru
99be7a3172
Merge pull request #1810 from jeckersb/nice-clap
...
nice: move from getopts to clap #1794
2021-03-17 22:03:42 +01:00
Sylvestre Ledru
44a7adc9a0
Merge pull request #1812 from konomith/feature/preserve_timestamps_#1758
...
install: Implement --preserve-timestamps (-p)
2021-03-17 22:02:54 +01:00
Sylvestre Ledru
a690ffde41
Merge pull request #1821 from deantvv/expand-clap
...
expand: replace getopts with clap
2021-03-17 22:01:31 +01:00
Sylvestre Ledru
6a109a5069
Merge pull request #1834 from jhscheer/patch-3
...
rm: add an additional flag -R for --recursive
2021-03-17 21:52:02 +01:00
Sylvestre Ledru
ba55ef166e
Merge pull request #1827 from drocco007/numfmt-delimiter
...
numfmt: implement --delimiter
2021-03-17 21:50:47 +01:00
Jan Scheer
d9adec3496
add comment
2021-03-17 14:46:25 +01:00
nicoo
955fa74a42
factor::tests: Check that powers of known-factorization numbers are factored correctly ( #1831 )
...
* factor::tests::recombines_factors: Minor refactor (skip useless bool)
* factor::tests: Check factorizations of powers of factored numbers
* factor::Factors: Add debug assertions to (Factor ^ Exponent)
* factor::tests: Drop obsoleted tests
`factor_correctly_recombines_prior_test_failures` was replaced with
`factor_2044854919485649` as this was the only test not subsumed.
* factor::tests::2044854919485649: Check the expected factorisation
2021-03-17 13:58:53 +01:00
Sylvestre Ledru
74a5ed1544
Merge pull request #1833 from drocco007/tr-octal
...
tr: process octal escape sequences
2021-03-17 13:55:43 +01:00
John Eckersberg
64b8c8aac7
nice: move from getopts to clap #1794
2021-03-17 08:52:13 -04:00
Daniel Rocco
fbb9c50050
tr: process octal escape sequences
...
closes #1817
2021-03-17 08:04:45 -04:00
Jan Scheer
867e117c99
Update test_rm.rs
2021-03-17 10:20:08 +01:00
Jan Scheer
97f40b0aee
rm: add an additional flag -R for --recursive
...
make clap support -R in addition to -r
2021-03-17 10:16:31 +01:00
Sylvestre Ledru
618d4a4fa5
Merge pull request #1825 from cbjadwani/uniq-utf8-issues
...
uniq: utf-8 issues
2021-03-16 21:18:31 +01:00
Peter Sherman
e3e5bf0178
Format head.rs
2021-03-15 20:48:49 +00:00
Sylvestre Ledru
edf5970b99
Merge pull request #1830 from gtsiam/travis
...
travis: bump rust to 1.33.0
2021-03-15 21:46:28 +01:00
George Tsiamasiotis
1169b92dd6
travis: bump rust to 1.33.0
...
Follow-up to #1724 where the minimum Rust version was bumped to v1.33.0
2021-03-15 21:45:22 +02:00
Sylvestre Ledru
ca540d949c
Merge pull request #1824 from NotNorom/master
...
sleep: Add more test cases
2021-03-15 20:43:02 +01:00
Peter Sherman
13e61c3234
head: add support for -z/--zero-terminated
2021-03-15 15:56:11 +00:00
Daniel Rocco
52f2ab6898
numfmt: implement --delimiter
...
closes #1454
2021-03-15 11:55:56 -04:00
Daniel Rocco
02e9ffecdd
numfmt: split implementation into modules
2021-03-15 11:55:17 -04:00
Hari
406cd865eb
install: run rustfmt
...
Fix formatting issues based on PR review comments
2021-03-15 11:00:30 -04:00
Andre Julius
53c3fedf33
sleep: Add more test cases
...
As mentioned here:
https://github.com/uutils/coreutils/pull/1777#discussion_r593807712
2021-03-15 14:36:38 +01:00
Dean Li
f608084710
Expand: add test for multiple files
2021-03-15 21:29:28 +08:00
Dean Li
cd775ed704
Expand: use mod::options
2021-03-15 21:28:47 +08:00
Chirag Jadwani
116e253cc0
uniq: Fix skip fields
...
Current implementation of the skip fields logic does not handle
multibyte code points correctly. It assumes each code point (`char`) is
one byte. If the skipped part of the input line has any multibyte code
points then this can cause fields not being skipped correctly (field
start index is calculated to be before it actually starts).
2021-03-15 18:48:54 +05:30
Chirag Jadwani
ce4342d12e
uniq: Fix panic on invalid utf-8 input
2021-03-15 18:48:54 +05:30
Terts Diepraam
fd957dd148
ls: fix access time on windows
2021-03-15 14:09:29 +01:00
Terts Diepraam
10135dccef
ls: fix unused import and improve coverage
2021-03-15 13:46:21 +01:00
Terts Diepraam
20094127c3
ls: --color back on windows as noop
2021-03-15 12:21:08 +01:00
Terts Diepraam
f28d5f4a73
ls: attempt to fix windows sorting issues
2021-03-15 12:07:10 +01:00
Terts Diepraam
a4c79c92ae
ls: fix windows issues
2021-03-15 10:24:24 +01:00
Sylvestre Ledru
4574b2b58d
README.md: remove broken information
2021-03-15 10:24:16 +01:00
Sylvestre Ledru
15db3c99c4
README.md: add the crates.io badge
2021-03-15 10:04:09 +01:00
Terts Diepraam
01fd207c81
ls: remove list of missing features
2021-03-15 09:53:19 +01:00
Terts Diepraam
5656a717c9
ls: make name sort case insensitive
2021-03-15 09:31:13 +01:00
Terts Diepraam
61a95239ce
ls: rename display to format, set arg overrides
2021-03-15 09:30:50 +01:00
Terts Diepraam
7bde2e78a9
ls: simplify --color and remove it on windows
2021-03-14 23:34:52 +01:00
Terts Diepraam
c86c18cbb5
ls: implement -c and -u
2021-03-14 23:11:11 +01:00
Terts Diepraam
c454d2640c
ls: structure options some more
2021-03-14 21:32:21 +01:00
Terts Diepraam
5d7a851471
ls: fix --color behaviour
2021-03-14 21:30:21 +01:00
Sylvestre Ledru
10d55c5696
Merge pull request #1796 from ttrunck/fix-busytest
...
Fix `make busytest`
2021-03-14 20:58:05 +01:00
Theophile Trunck
0ac5dbe44d
Add CICD for busytest
2021-03-14 20:30:53 +01:00
James Robson
570e456496
clean up workflow script
2021-03-14 15:59:17 +00:00
James Robson
7c219fd128
clean up sed commands
2021-03-14 15:34:22 +00:00
James Robson
d8c3d1d51d
Use system utils
2021-03-14 15:32:30 +00:00
Dean Li
6829e7f359
expand: replace getopts with clap
...
expand has one odd behavior that allows two format for tabstop
From expand --help
```
-t, --tabs=N have tabs N characters apart, not 8
-t, --tabs=LIST use comma separated list of tab positions
```
This patch use one `value_name("N, LIST")` for tabstop and
deal with above behavior in `parse_tabstop`.
Close #1795
2021-03-14 20:47:53 +08:00
Terts Diepraam
0717a5f301
ls: formatting
2021-03-14 13:32:15 +01:00
Terts Diepraam
e2716c947b
Merge pull request #2 from uutils/master
...
Update cargo.lock (#1819 )
2021-03-14 12:25:11 +01:00
Terts Diepraam
8df239a4e2
Merge branch 'master' of github.com:tertsdiepraam/coreutils
2021-03-14 12:22:38 +01:00