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

4043 commits

Author SHA1 Message Date
Daniel Hofstetter
faa2dfada8
Merge pull request #8056 from nyurik/udeps
chore: remove unused dependencies
2025-07-03 16:53:17 +02:00
Sylvestre Ledru
e9b24b4bc2
mv: improve the hardlink support (#8296)
* mv: implement hardlink support

Should fix GNU tests/mv/part-hardlink.sh tests/mv/hard-link-1.sh

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>

* mv: fix the GNU test - tests/mv/part-fail

* make it pass on windows

---------

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2025-07-03 16:28:09 +02:00
Yuri Astrakhan
4fa9af4953 chore: cleanup unused dependencies 2025-07-02 19:47:23 -04:00
yuankunzhang
31a5b54dc6 tr: handle broken pipe gracefully 2025-07-02 22:26:11 +08:00
Sylvestre Ledru
d04d0cd987
ls: fix the GNU test tests/ls/selinux.sh (#8281)
* ls: fix the GNU test tests/ls/selinux.sh

* Remove old comment

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>

* simpli

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>

---------

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2025-07-02 11:12:26 +02:00
Dorian Peron
6e23d4e979 tests: patch tests to simplify imports 2025-07-01 03:36:46 +02:00
Daniel Hofstetter
5ce678b1cd
Merge pull request #8264 from sylvestre/fix-fmt
Fix the last two GNU tests for fmt
2025-06-30 14:45:12 +02:00
Sylvestre Ledru
576bd6f565 env: adjust to test after the improvement on the error message 2025-06-30 13:42:40 +02:00
Daniel Hofstetter
ba447eb869
Merge pull request #8191 from sylvestre/l10n-dd
l10n: port dd for translation + add french
2025-06-30 11:02:15 +02:00
Daniel Hofstetter
19103eefcd
Merge pull request #8287 from sylvestre/l10n-base32
l10n: port base32 for translation + add french
2025-06-30 10:26:07 +02:00
Sylvestre Ledru
2df7f01c15 fmt: fix the last two gnu issues 2025-06-30 00:06:52 +02:00
Sylvestre Ledru
d9c72dcdc8 install -C: also the manage the ignore case 2025-06-29 23:51:45 +02:00
Sylvestre Ledru
bdcd2ef00a install: implement option -C
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2025-06-29 23:19:09 +02:00
Dorian Péron
56ce0e28ad
cksum: Fix file quoting on stderr (#8272)
* cksum: handle escaping in stderr for file errors

* uutests: Minor fix and stdX_contains_bytes feature

* test(cksum): add test for stderr escaping
2025-06-29 22:07:27 +02:00
Sylvestre Ledru
f12111b7a2 base*: create a common locale directory with symlinks 2025-06-29 20:11:02 +02:00
VenetiaFurtado
c64adee068
touch: add -f flag (#8274)
* touch: fix f flag

* Update src/uu/touch/src/touch.rs

Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>

* touch: add test for f flag

* Update src/uu/touch/src/touch.rs

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>

* Update tests/by-util/test_touch.rs

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>

* remove unnecessary comment

---------

Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2025-06-29 15:26:33 +02:00
Sylvestre Ledru
688215725c l10n: port dd for translation + add french 2025-06-28 21:52:00 +02:00
jenningsfan
3214c4d604
install: don't error when multiple arguments of the same type are given, instead override with last one (#8033) (#8053) 2025-06-28 09:57:55 +02:00
Tomasz Guz
cad92245f7 od: fix handling of non-ascii chars 2025-06-27 12:42:18 +02:00
Luv-Ray
fb2399f56b
fix clippy (#8275)
* fix clippy

* update

* update
2025-06-27 09:15:24 +02:00
Sylvestre Ledru
6287c7bfa9 l10n: port shred for translation + add french 2025-06-26 08:06:01 +02:00
Daniel Hofstetter
9e57ce82d7
Merge pull request #8244 from sylvestre/l10n-sort
l10n: port sort for translation + add french
2025-06-25 10:13:57 +02:00
Dorian Peron
3fe7f94396 test/ls: add test for locale-aware quoting 2025-06-25 00:49:01 +02:00
Sylvestre Ledru
b68d8a975d sort: add a test we were not covering 2025-06-25 00:29:44 +02:00
Sylvestre Ledru
dc9dd3fb70 l10n: port ls for translation + add french
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2025-06-23 22:29:12 +02:00
Phineas Jensen
faa6a9bb95 tests/fold: add tests for non-utf8 streams 2025-06-22 20:57:19 -06:00
Timothy G.
d05460a16c
unexpand: add -f short alias for --first-only (#8229) 2025-06-19 21:59:23 +02:00
Daniel Hofstetter
39c793c885
Merge pull request #8221 from willshuttleworth/stty-size
stty: add options to set and print terminal size
2025-06-19 16:59:00 +02:00
Will Shuttleworth
10f8d77560 stty: add option to print terminal size 2025-06-19 08:38:47 -04:00
Will Shuttleworth
93ac655936 stty: add tests for setting rows/cols 2025-06-19 08:38:08 -04:00
Sylvestre Ledru
dcaef2eb65
Merge pull request #8225 from cakebaker/tee_move_test
tee: move test to `linux_only` module
2025-06-19 10:43:04 +02:00
Sudhakar Verma
c674cf1839
Merge pull request #8217 from sudhackar/ls-fix
ls: follow symlinks for xattrs, fix #8216
2025-06-19 10:17:25 +02:00
Daniel Hofstetter
cccaba63c2 tee: move test to "linux_only" module 2025-06-19 09:42:22 +02:00
Maxim
e354ddea02 tee: remove output buffering
To comply with POSIX standard `tee` implementation must not buffer
its output, so we replace std::io::copy implementation that does
buffering with the custom one.
2025-06-19 09:28:38 +09:00
Maxim
1613cdba10 tests/tee: move no_more_writable test to linux_only module 2025-06-19 00:37:26 +09:00
Maxim
7310c7fca1 tests/tee: enable no_more_writable test 2025-06-19 00:35:53 +09:00
Will Shuttleworth
01ac6dfd18
Merge pull request #8135 from willshuttleworth/stty-set-undefined
stty: fix mappings with empty string literal args
2025-06-16 09:45:11 +02:00
Will Shuttleworth
6023888363
stty: add ispeed/ospeed settings (#8180)
* stty: add ispeed/ospeed settings

* stty: fix spell check errors
2025-06-15 16:46:54 +02:00
Dorian Péron
625e5eeb09
Merge pull request #8185 from frendsick/fix/printf-hex-zero-padding
printf: Fix formatting hexadecimals with padding
2025-06-15 00:42:56 +02:00
Teemu Pätsi
cf7255f085
printf: Test formatting hex with padding 2025-06-15 00:36:38 +03:00
Dorian Péron
5936408922
Merge pull request #7484 from karlmcdowall/head_bug_bug_bug
head: fix bug with non-terminated files.
2025-06-14 21:22:24 +02:00
Dorian Péron
e2eb601948
Merge pull request #7918 from Qelxiros/7906-hashsum-errors
hashsum: don't exit early on io errors
2025-06-14 21:17:30 +02:00
Sylvestre Ledru
db229ea6d5
Merge pull request #8127 from MarcusGrass/mg/coreutils-version
feat: add `--version` argument to print main binary version
2025-06-14 15:30:47 +02:00
Tomasz Guz
b5e0304ea7 expr: fix builtin functions precedence 2025-06-13 14:51:25 +02:00
Yuankun Zhang
e1f40ff601
cat: add error handling in write_fast function (#8091) 2025-06-13 11:02:03 +02:00
Will Shuttleworth
e5bde07591
tail: fix test that disables output in bash shell (#8157)
* tail: fix test that disables output in bash shell

* tail: fix platform related issues after test change

* tail: use new imports on same platforms as test they are needed for
2025-06-13 09:44:18 +02:00
Tomasz Guz
6049bc091a expr: fix substr parsing 2025-06-11 22:53:24 +02:00
MarcusGrass
6ea6e8cbb4
fix: Add test for main binary version information output 2025-06-10 20:36:17 +02:00
Will Shuttleworth
4be9e7679d stty: fix negated options getting rejected by clap 2025-06-09 17:35:06 -04:00
Daniel Hofstetter
c14aec47f0
Merge pull request #8112 from sylvestre/l10n-tr
l10n: port tr for translation + add french
2025-06-09 15:06:09 +02:00