1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-08-07 08:27:46 +00:00
Commit graph

15884 commits

Author SHA1 Message Date
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
Dorian Péron
569afcc139
Merge pull request #7260 from jfinkels/cat-error-append-same-file
cat: error when output is input and appending
2025-02-07 14:44:03 +01:00
Dorian Péron
9a88526867 test(cat): add test for output appending to input file 2025-02-07 07:45:21 -05:00
Jeffrey Finkelstein
c9312eba9a cat: error when output is input and appending
Change `cat` so that it terminates with an error message when the input
file is the same as the output file and the output file is being
appended to. For example,

    cat <f >>f
    cat: -: input file is output file

Fixes #7165
2025-02-07 07:45:21 -05:00
Daniel Hofstetter
cb3ee46ca9 deny.toml: add bindgen & rustc-hash to skip list 2025-02-07 09:06:28 +01:00
Daniel Hofstetter
b4bc228026 Bump fts-sys from 0.2.13 to 0.2.14 2025-02-07 08:54:28 +01:00
Daniel Hofstetter
e0a7c318a3
Merge pull request #7277 from uutils/renovate/once_cell-1.x-lockfile
chore(deps): update rust crate once_cell to v1.20.3
2025-02-07 07:21:38 +01:00
Daniel Hofstetter
39a7e9d1ef
Merge pull request #7278 from uutils/renovate/selinux-0.x
chore(deps): update rust crate selinux to 0.5.0
2025-02-07 07:10:08 +01:00
renovate[bot]
7bb2bb2f30
chore(deps): update rust crate selinux to 0.5.0 2025-02-07 05:22:35 +00:00
Jeffrey Finkelstein
c23e1db9c5 Use the last, not first, two digits as the year 2025-02-06 22:02:47 -05:00
renovate[bot]
eb61056dfe
chore(deps): update rust crate once_cell to v1.20.3 2025-02-07 00:44:05 +00:00
Dorian Peron
e550e3d72e test(tee): Add test for broken pipe behavior with -p 2025-02-06 12:25:34 +01:00
Dorian Peron
67aa0b25ab tee: fix -p behavior upon broken pipe stdout 2025-02-06 11:29:29 +01:00
Jeffrey Finkelstein
6dfa1f8276 touch: support obsolete POSIX timestamp argument
Support obsolete form of timestamp argument for old POSIX versions. In
summary, when older versions of POSIX are used and the first positional
argument looks like a date and time, then treat it as a timestamp
instead of as a filename. For example, before this commit

    _POSIX2_VERSION=199209
    POSIXLY_CORRECT=1
    touch 01010000 11111111

would create two files, `01010000` and `11111111`. After this commit,
the first argument is interpreted as a date and time (in this case,
midnight on January 1 of the current year) and that date and time are
set on the file named `11111111`.

Fixes #7180.
2025-02-05 22:04:47 -05:00
Dorian Péron
8fd4e1cef4 Add .envrc 2025-02-05 00:27:20 +01:00
Dorian Péron
1e686ec25c patch build-gnu.sh for NixOS 2025-02-05 00:27:20 +01:00
Dorian Péron
3f53522241 add a flake.nix file for the development environment, add direnv-related files to .gitignore 2025-02-05 00:27:20 +01:00
Sylvestre Ledru
ee0d178f8c
Merge pull request #7268 from uutils/renovate/blake2b_simd-1.x-lockfile
chore(deps): update rust crate blake2b_simd to v1.0.3
2025-02-04 23:36:48 +01:00
renovate[bot]
9065c65aa4
chore(deps): update rust crate blake2b_simd to v1.0.3 2025-02-04 20:25:56 +00:00
Sylvestre Ledru
de5a2bb944
Merge pull request #7267 from cakebaker/cargo_toml_fix_incorrect_lint_name
Cargo.toml: fix incorrect lint name
2025-02-04 16:48:06 +01:00
Daniel Hofstetter
02cd31a4d9 Cargo.toml: fix incorrect lint name 2025-02-04 16:09:58 +01:00
Sylvestre Ledru
25bfe839be
Merge pull request #7265 from cakebaker/uptime_remove_duplicate_test
uptime: remove duplicate test
2025-02-04 10:07:12 +01:00
Daniel Hofstetter
90208096fd uptime: remove duplicate test 2025-02-04 09:24:32 +01:00
Daniel Hofstetter
d75de5d2f6
Merge pull request #7263 from uutils/renovate/clap-4.x-lockfile
chore(deps): update rust crate clap to v4.5.28
2025-02-04 07:07:20 +01:00
Daniel Hofstetter
aad8fa0215
Merge pull request #7264 from uutils/renovate/z85-3.x-lockfile
fix(deps): update rust crate z85 to v3.0.6
2025-02-04 07:04:25 +01:00
renovate[bot]
aa90d0046f
fix(deps): update rust crate z85 to v3.0.6 2025-02-04 04:32:25 +00:00
renovate[bot]
29aa1b331c
chore(deps): update rust crate clap to v4.5.28 2025-02-04 00:53:46 +00:00