1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2026-01-17 10:41:03 +00:00
Commit graph

8295 commits

Author SHA1 Message Date
Sylvestre Ledru
e4698255f2 l10n: port pwd for translation + add french 2025-06-08 20:08:50 +02:00
Daniel Hofstetter
4128efad0f
Merge pull request #8076 from sylvestre/l10n-nice
l10n: port nice to translation + add french
2025-06-07 16:13:31 +02:00
Daniel Hofstetter
9275995a2f
Merge pull request #8079 from sylvestre/l10n-who
l10n: port who to translation + add french
2025-06-07 15:39:18 +02:00
Daniel Hofstetter
fc011c8902
Merge pull request #8082 from sylvestre/l10n-hostname
l10n: port hostname to translation + add french
2025-06-07 14:51:48 +02:00
Daniel Hofstetter
8d626cfd55
Merge pull request #8088 from sylvestre/l10n-sync
l10n: port sync to translation + add french
2025-06-07 14:38:07 +02:00
Daniel Hofstetter
0f29f84613
Merge pull request #8089 from sylvestre/l10n-mkdir
l10n: port mkdir to translation + add french
2025-06-07 14:32:56 +02:00
Sylvestre Ledru
45aa9edfbd l10n: port who to translation + add french 2025-06-07 12:19:59 +02:00
Sylvestre Ledru
1ddbc2a629 l10n: port sync to translation + add french 2025-06-07 10:32:49 +02:00
Sylvestre Ledru
320dcd114c
Merge pull request #8069 from cakebaker/uptime_use_plural_for_zero_users
uptime: use "0 users" instead of "0 user"
2025-06-07 09:37:10 +02:00
Sylvestre Ledru
63a3d6e5b9 l10n: port mkdir to translation + add french 2025-06-07 09:14:02 +02:00
Daniel Hofstetter
9c0eb00d13
Merge pull request #8085 from sylvestre/l10n-dirname
l10n: port dirname to translation + add french
2025-06-07 08:18:10 +02:00
Sylvestre Ledru
21cc0b8471 l10n: port sleep to translation + add french 2025-06-06 22:25:32 +02:00
Sylvestre Ledru
15a6f92090 l10n: port dirname to translation + add french 2025-06-06 21:35:50 +02:00
Yuri Astrakhan
60c55d7c07
chore: cleanup workspace crates (#8058)
* chore: cleanup workspace crates

* properly add all crates to the workspace cargo.toml as members
  * except `fuzz` because it still has some issues, TBD
* use quotes around `true` and `false` to ensure there is no bool confusion
* remove a few leftover readme comments
* mark all unpublishable crates as `publish = false` to avoid accidental publishing
* Add `uutests` to the main workspace

* grammar

* a bit more cleanup based on feedback

* revert true/false

* Update tests/benches/factor dependencies
2025-06-06 13:56:08 +02:00
Teemu Pätsi
4d40671d79
cat: Fix reporting "input file is output file" error when outputting to an input file (#8025)
* cat: Check if a file can be overwritten safely in Unix

* cat: Check if a file can be overwritten safely in Windows

* cat: Test writing read-write file that is input and output

* cat: Unit test `is_appending` function

* cat: Unit test `is_unsafe_overwrite` function

* cat: Comment why a few function calls could return Err

* cat: Remove obvious comments from test
2025-06-06 12:01:31 +02:00
Sylvestre Ledru
9e21259e2d
Merge pull request #8062 from drinkcat/sort-float
sort: Make use of ExtendedBigDecimal in -g sorting, then attempt to recover some performance
2025-06-06 12:01:04 +02:00
Daniel Hofstetter
1787471eeb
Merge pull request #8073 from uutils/pr-1
l10n: port id to translation + add french
2025-06-06 11:38:19 +02:00
Daniel Hofstetter
246a7e533d
Merge pull request #8077 from sylvestre/l10n-proc
l10n: port nproc to translation + add french
2025-06-06 11:25:10 +02:00
Daniel Hofstetter
1f24aa2c62
Merge pull request #8078 from sylvestre/l10n-yes
l10n: port yes to translation + add french
2025-06-06 11:09:11 +02:00
Daniel Hofstetter
af750967e9
Merge pull request #8080 from sylvestre/l10n-uname
l10n: port uname to translation + add french
2025-06-06 11:01:56 +02:00
Daniel Hofstetter
6619a93777
Merge pull request #8081 from sylvestre/l10n-whoami
l10n: port whoami to translation + add french
2025-06-06 10:49:46 +02:00
Sylvestre Ledru
fa4e46ad15 l10n: port id to translation + add french 2025-06-06 09:36:53 +02:00
Sylvestre Ledru
63ef7c9a1d l10n: port hostname to translation + add french 2025-06-06 09:25:25 +02:00
Sylvestre Ledru
980c81a6ce l10n: port whoami to translation + add french 2025-06-06 09:24:53 +02:00
Sylvestre Ledru
86357de0e9 l10n: port uname to translation + add french 2025-06-06 09:24:21 +02:00
Sylvestre Ledru
0d00960522 l10n: port yes to translation + add french 2025-06-06 09:23:08 +02:00
Sylvestre Ledru
991144a79a l10n: port nproc to translation + add french 2025-06-06 09:22:24 +02:00
Sylvestre Ledru
b0ba545248 l10n: port nice to translation + add french 2025-06-06 09:21:35 +02:00
Sylvestre Ledru
8f5f22eb86 l10n: port basename to translation + add french 2025-06-06 09:13:25 +02:00
Daniel Hofstetter
1d11f85dd2
Merge pull request #8066 from sylvestre/bidi
l10n: Disable Unicode directional isolate characters (U+2068, U+2069)
2025-06-06 09:08:23 +02:00
Daniel Hofstetter
51c5c9c59a rm: rename two consts for better readability
OPT_PROMPT => OPT_PROMPT_ALWAYS, OPT_PROMPT_MORE => OPT_PROMPT_ONCE
2025-06-05 17:05:48 +02:00
Daniel Hofstetter
ab40fcff7e uptime: use "0 users" instead of "0 user" 2025-06-05 15:32:45 +02:00
Will Shuttleworth
61bd11a551
stty: set control characters (#7931)
* reworked arg processing. control character mappings are correctly grouped now, ie 'stty erase ^H'

* stty: setting control chars to undefined (disabling them) is implemented

* setting control chars

* stty: can now set control chars. need to improve checks on valid mappings

* stty: matches GNU in what control character mappings are allowed

* stty: run rustfmt and remove extra comments

* stty: setting control char code review fixes

* stty: fix rustfmt errors

* stty: more small edits after review

* stty: refactor set control char changes for better testing

* stty: fix ci error

* stty: fix issues from code review
2025-06-05 11:38:51 +02:00
Daniel Hofstetter
ccc6233fba
Merge pull request #8054 from sylvestre/locale3
l10n: convert the md files to fluent
2025-06-05 09:39:42 +02:00
Etienne Cordonnier
8c1cc5b992 stdbuf: avoid double "lib" prefix
libstdbuf is currently compiled as e.g. liblibstdbuf.so, which is confusing.
Compile the library as libstdbuf.so instead.

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
2025-06-05 00:00:45 +02:00
Sylvestre Ledru
5b2078b02d l10n: Disable Unicode directional isolate characters (U+2068, U+2069) 2025-06-04 22:32:59 +02:00
Sylvestre Ledru
4b776ba995 l10n: also manage individual binary usages 2025-06-04 19:24:20 +02:00
Sylvestre Ledru
578499fbad coreutils.rs: spell ignore 2025-06-04 19:24:03 +02:00
Sylvestre Ledru
005f0b7737 cargo fmt 2025-06-04 19:24:03 +02:00
Sylvestre Ledru
c3f2247eca l10n: remove help_about 2025-06-04 19:24:03 +02:00
Sylvestre Ledru
c437ac830e l10n: the manpage creation should use the locale files 2025-06-04 19:24:03 +02:00
Sylvestre Ledru
a7f941577f bin/coreutils: add unit tests 2025-06-04 19:24:03 +02:00
Sylvestre Ledru
00982c9374 l10n: Move the prefix removal into a function 2025-06-04 19:24:03 +02:00
Sylvestre Ledru
b904f36636 l10n: manages aliases of commands 2025-06-04 19:24:03 +02:00
Sylvestre Ledru
a36d5455ab l10n: improve the display when the ftl is invalid 2025-06-04 19:24:03 +02:00
Sylvestre Ledru
7102e1a4b5 l10n: remove the old md files 2025-06-04 19:24:03 +02:00
Sylvestre Ledru
16afa021ce l10n: add a comment to detail the need of having the capability to disable translations 2025-06-04 19:24:03 +02:00
Sylvestre Ledru
5ab807a561 l10n: disable the arch locale init 2025-06-04 19:24:03 +02:00
Sylvestre Ledru
1a80fc59a3 l10n: init the locale engine for each program (next: put it behing a feature) 2025-06-04 19:24:03 +02:00
Sylvestre Ledru
94c1fad206 l10n: adjust the code to use the fluent files instead of the PROG.md docs 2025-06-04 19:23:57 +02:00