renovate[bot]
88f296c4c6
chore(deps): update rust crate clap_complete to v4.5.45
2025-02-17 22:32:42 +00:00
renovate[bot]
d415b4c3d3
chore(deps): update rust crate clap to v4.5.30
2025-02-17 22:32:36 +00:00
Jeffrey Finkelstein
f979f97214
echo: use uucore::format::parse_escape_only()
...
Remove some duplicate code in favor of just calling
`uucore::format::parse_escape_only()`.
Fixes #7258 .
2025-02-17 17:24:18 -05:00
Daniel Hofstetter
80fb4f3764
Merge pull request #7313 from uutils/renovate/tempfile-3.x-lockfile
...
fix(deps): update rust crate tempfile to v3.17.1
2025-02-17 18:02:03 +01:00
Daniel Hofstetter
883a5ede55
Merge pull request #7314 from uutils/renovate/parse_datetime-0.x
...
chore(deps): update rust crate parse_datetime to 0.8.0
2025-02-17 18:01:17 +01:00
renovate[bot]
ef4f32bbd0
chore(deps): update rust crate parse_datetime to 0.8.0
2025-02-17 16:36:23 +00:00
renovate[bot]
e5a2f7f942
fix(deps): update rust crate tempfile to v3.17.1
2025-02-17 16:36:16 +00:00
Jeffrey Finkelstein
1606968bf2
rm: recursive implementation of -r option
...
Change the implementation of `rm -r` so that it is explicitly recursive
so that (1) there is one code path regardless of whether `--verbose` is
given and (2) it is easier to be compatible with GNU `rm`.
This change eliminates a dependency on the `walkdir` crate.
Fixes #7033 , fixes #7305 , fixes #7307 .
2025-02-17 11:18:24 -05:00
Jeffrey Finkelstein
efbc78b8ae
rm: add is_dir_empty() helper function
2025-02-17 11:16:55 -05:00
Jeffrey Finkelstein
78b51cb939
rm: check write permissions instead of readonly()
...
Check the user write permission directly from the mode instead of using
the `Permissions::readonly()` method. This seems to more closely match
the behavior of GNU `rm`.
2025-02-17 11:16:55 -05:00
Sylvestre Ledru
58c336d5c3
Merge pull request #6040 from hamflx/main
...
Make mv command fallback to copy only if the src and dst are on different device
2025-02-17 08:47:06 +01:00
Sylvestre Ledru
91784d0bff
Merge pull request #7306 from jfinkels/rm-add-tests-interactive
...
rm: add two passing tests for -i option
2025-02-17 08:44:51 +01:00
Jeffrey Finkelstein
ba67469c9c
rm: add two passing tests for -i option
2025-02-16 18:40:14 -05:00
hamflx
b96f825503
mv: Make mv command fallback to copy only if the src and dst are on different device
2025-02-17 00:22:28 +01:00
Sylvestre Ledru
511590ad44
Merge pull request #7303 from rwdj/fix-5692-usage-strings
...
Fix usage strings for #5692
2025-02-17 00:14:17 +01:00
Sylvestre Ledru
ab5abb9f13
Merge pull request #7308 from jfinkels/rm-simplify-remove-dir
...
rm: simplify remove_dir() helper function
2025-02-17 00:13:37 +01:00
Sylvestre Ledru
c53dc91279
Merge pull request #7310 from uutils/renovate/rand_core-0.x-lockfile
...
chore(deps): update rust crate rand_core to v0.9.1
2025-02-17 00:12:35 +01:00
Sylvestre Ledru
7c4d045a56
Merge pull request #7311 from uutils/renovate/tempfile-3.x-lockfile
...
fix(deps): update rust crate tempfile to v3.17.0
2025-02-17 00:12:17 +01:00
renovate[bot]
6ae81ed3c4
fix(deps): update rust crate tempfile to v3.17.0
2025-02-16 21:47:05 +00:00
renovate[bot]
1f4829ab76
chore(deps): update rust crate rand_core to v0.9.1
2025-02-16 21:46:56 +00:00
Jeffrey Finkelstein
464181bb56
rm: simplify remove_dir() helper function
2025-02-16 12:18:37 -05:00
RWDJ
55502cb44f
test: fix usage string
...
`[` alone is not a valid test command.
`test` alone is a valid test command.
`]` alone is not a valid test command.
Update usage string to match GNU behavior.
2025-02-15 19:27:01 -06:00
RWDJ
9f93bb1932
hashsum: fix usage string
...
hashsum requires a --<digest> and may accept multiple options.
2025-02-15 18:53:05 -06:00
RWDJ
460dc52e68
unlink: fix usage string
...
unlink must either take an option or a file. Update usage string to
match GNU behavior.
2025-02-15 18:51:59 -06:00
RWDJ
4649c717b6
runcon: fix usage string
...
runcon requires a context command. Update usage string to match GNU
behavior.
2025-02-15 18:51:44 -06:00
Daniel Hofstetter
0eab0fa83e
Merge pull request #7301 from jfinkels/split-test-format-width
...
split: avoid extremely long format width in test
2025-02-15 17:09:41 +01:00
Daniel Hofstetter
aa39c2c38a
Merge pull request #7302 from uutils/renovate/smallvec-1.x-lockfile
...
chore(deps): update rust crate smallvec to v1.14.0
2025-02-15 07:14:41 +01:00
renovate[bot]
991ba0f047
chore(deps): update rust crate smallvec to v1.14.0
2025-02-15 05:47:08 +00:00
Jeffrey Finkelstein
183a99d532
split: avoid extremely long format width in test
...
Avoid an extremely long format width specifier in test case
`test_long_lines`. The Rust compiler is planning an upcoming change to
restrict the maximum width that can be specified to 65535, so this
change defends against future limitations in the compiler. For more
information, see
<https://github.com/uutils/coreutils/pull/7128#discussion_r1955787665 >.
2025-02-14 17:41:36 -05:00
Daniel Hofstetter
cdc8d5f627
kill: test "-l <number>" & adapt error messages
2025-02-14 14:27:12 +01:00
Sylvestre Ledru
b4487229b9
Merge pull request #7300 from cakebaker/ci_fix_spelling_errors
...
ci: add words to `spell-checker:ignore` in two files
2025-02-14 09:36:19 +01:00
Daniel Hofstetter
3de1ccadba
ci: add words to spell-checker:ignore
2025-02-14 09:14:10 +01:00
Sylvestre Ledru
112cb4c27f
Merge pull request #6947 from RenjiSann/nixos-devel
...
Nix/Nixos development
2025-02-14 08:57:58 +01:00
Sylvestre Ledru
9542e15045
Merge pull request #7281 from RenjiSann/renji/improve-fuzzer-log
...
Improve fuzzer logging
2025-02-12 22:07:54 +01:00
Dorian Peron
6afa515859
fuzz(cksum): fix fuzzer to use GNU's binary instead of the systems', remove false positives, improve logging
2025-02-12 19:46:18 +01:00
Karl McDowall
84b42a8ce4
head: Fix bug printing large non-seekable files
...
Fixes issue #7288 .
Rewrite logic for print-all-but-last-n-bytes in non-seekable
files.
2025-02-12 10:16:44 +01:00
Daniel Hofstetter
a3c5b8c3b1
Merge pull request #7297 from uutils/renovate/clap-4.x-lockfile
...
chore(deps): update rust crate clap to v4.5.29
2025-02-12 07:12:07 +01:00
renovate[bot]
f989a44ca6
chore(deps): update rust crate clap to v4.5.29
2025-02-11 22:56:45 +00:00
aimerlief
dd7b45465c
cp: print verbose msg after prompt ( #7287 )
...
* cp: fix verbose output order after prompt
Fixes : #7285
* cp: add test for verbose message order
* cp: fix test for interactive prompt ordering
* cp: update test for verbose output order
* cp: fix test cases to use update option
2025-02-11 09:19:08 +01:00
Daniel Hofstetter
64156516f8
Merge pull request #7283 from sylvestre/inter
...
github action: do not fail the GNU test if only intermittent
2025-02-10 14:24:00 +01:00
Sylvestre Ledru
71248a1ecb
CI: use notice for intermittent issues instead of warnings
2025-02-10 13:07:21 +01:00
Daniel Hofstetter
fd94d36842
Merge pull request #7292 from jfinkels/csplit-dont-panic-no-file
...
csplit: don't panic on missing suppressed file
2025-02-10 09:03:17 +01:00
Jeffrey Finkelstein
18f9ca9da4
csplit: don't panic on missing suppressed file
...
Avoid a panic that would occur when attempting to remove a file that
didn't exist. This would happen when scanning for a regular expression
match, advancing by a positive offset, and suppressing empty files. For
example, before this commit,
echo a | csplit -z - %a%1
would cause a panic. After this commit, the process terminates as
expected: without error, without output, and without any files written.
Fixes #7251 .
2025-02-09 22:04:47 -05:00
Daniel Hofstetter
aa27efb854
Merge pull request #7290 from uutils/renovate/data-encoding-macro-0.x-lockfile
...
fix(deps): update rust crate data-encoding-macro to v0.1.17
2025-02-09 14:51:44 +01:00
renovate[bot]
12eb2330ab
fix(deps): update rust crate data-encoding-macro to v0.1.17
2025-02-09 12:54:33 +00:00
Dorian Peron
5d952afa3d
fuzz: improve readability of fuzzer output, add colors
2025-02-09 00:33:21 +01:00
Daniel Hofstetter
d86a7fb593
Merge pull request #7274 from jfinkels/touch-obsolete-posix-args
...
touch: support obsolete POSIX timestamp argument
2025-02-08 15:24:23 +01:00
Jeffrey Finkelstein
864215653e
Collapse multiple if statements with &&
2025-02-08 08:49:08 -05:00
Sylvestre Ledru
2afab7c040
Merge pull request #7279 from cakebaker/bump_fts_sys
...
Bump `fts-sys` from `0.2.13` to `0.2.14`
2025-02-08 12:15:13 +01:00
Daniel Hofstetter
03b6371422
Merge pull request #7273 from RenjiSann/tee-fix-p-broken-stdout
...
tee: fix -p behavior upon broken pipe stdout
2025-02-07 16:19:18 +01:00