Commit graph

13439 commits

Author SHA1 Message Date
Andrew Liebenow
d70990e0cc printf: remove unused argument name from help
printf --help is currently listing three usage forms:

```
Usage: coreutils printf FORMATSTRING [ARGUMENT]...
       coreutils printf FORMAT [ARGUMENT]...
       coreutils printf OPTION
```

But there are only two usage forms, since there is no difference
between "FORMAT" and "FORMATSTRING".

Remove references to "FORMATSTRING", and use "FORMAT" in all places
where "FORMATSTRING" appeared, since other implementations of
`printf` use the argument name "FORMAT".
2024-10-21 10:36:31 -05:00
Sylvestre Ledru
3f694faa2e
Merge pull request #6802 from andrewliebenow/mkdir-empty-argument-fix
mkdir: emit error when path is empty
2024-10-20 18:44:33 +02:00
Andrew Liebenow
80b63931a4 mkdir: emit error when path is empty 2024-10-20 10:45:46 -05:00
Sylvestre Ledru
5b881a0766
Merge pull request #6790 from sgvictorino/require-mkdir-rmdir-args
mkdir/rmdir: require arguments
2024-10-20 17:15:25 +02:00
Sylvestre Ledru
7589db53c1
Merge pull request #6795 from andrewliebenow/fuzz-compare-against-lc-all-c
fuzz: run GNU Core Utilities with LC_ALL=C
2024-10-20 17:14:55 +02:00
Sylvestre Ledru
9a6f5521b9
Merge pull request #5968 from anastygnome/tsort
tsort refactoring proposal
2024-10-19 21:01:46 +02:00
Sylvestre Ledru
c125a94290
Merge pull request #6800 from andrewliebenow/documentation-fix-crate-name
documentation: fix crate name in README
2024-10-19 19:28:13 +02:00
Andrew Liebenow
75895ce4d4 documentation: fix crate name in README 2024-10-19 11:43:38 -05:00
Tom D.
66c3efa0b7
doc(tsort): Add benchmarking documentation 2024-10-19 15:08:06 +02:00
Tom D.
c3b28bf6c7 refactor(tsort): Switch to Knuth algorithm T
This commit is a complete rewrite of the tsort util, resulting in a x10 performance improvement
BREAKING CHANGE: the order is no longer the same as gnu tsort in some fringe cases.
2024-10-19 12:07:25 +02:00
Andrew Liebenow
bac29943cb fuzz: run GNU Core Utilities with LC_ALL=C 2024-10-18 09:33:02 -05:00
Daniel Hofstetter
92e67a5a14
Merge pull request #6782 from RenjiSann/checksum-comment
cksum/hashsum: Support for commented lines in checksum files
2024-10-18 13:53:34 +02:00
Dorian Péron
b34730dda3 test(hashsum): add tests for comment in checksum files 2024-10-18 11:58:03 +02:00
Dorian Péron
90d49c9403 test(cksum): add tests for comment in checksum files 2024-10-18 11:57:59 +02:00
Sylvestre Ledru
96470d9614
GNU tests: install attr (#6784)
* GNU tests: install attr

```
2024-10-16T07:22:20.6386088Z SKIP: tests/misc/xattr
2024-10-16T07:22:20.6386173Z ======================
2024-10-16T07:22:20.6386178Z 
2024-10-16T07:22:20.6386369Z ./tests/misc/xattr.sh: line 42: getfattr: command not found
2024-10-16T07:22:20.6386526Z xattr.sh: skipped test: failed to get xattr of file
```

* Also install attr for the GNU code coverage
2024-10-18 11:07:45 +02:00
Daniel Hofstetter
6a354ded14
Merge pull request #6789 from uutils/renovate/libc-0.x-lockfile
fix(deps): update rust crate libc to v0.2.161
2024-10-18 09:51:04 +02:00
renovate[bot]
035c99c3eb
fix(deps): update rust crate libc to v0.2.161 2024-10-18 07:23:26 +00:00
Solomon Victorino
fe234164f4 rmdir: require argument 2024-10-18 08:30:18 +02:00
Solomon Victorino
6ad07a4fb3 mkdir: require argument 2024-10-18 08:30:18 +02:00
Sylvestre Ledru
93c3d004d7
Merge pull request #6792 from cakebaker/uucore_allow_deprecated
uucore: allow use of deprecated `PanicInfo`
2024-10-18 08:29:15 +02:00
Daniel Hofstetter
91687ebbc1 uucore: allow use of deprecated PanicInfo 2024-10-18 07:36:30 +02:00
Daniel Hofstetter
e3b8191926
Merge pull request #6787 from tea/unredox
Get rid of redox-specific code
2024-10-17 16:58:43 +02:00
Andrey Turkin
b7819c0731 Get rid of redox-specific code
All of the specific functions are covered by relibc
2024-10-17 17:14:42 +03:00
Daniel Hofstetter
b19897fa6c
Merge pull request #6785 from sylvestre/tsort
tsort.pl: adjust error message
2024-10-17 10:21:12 +02:00
Daniel Hofstetter
c23acfc819
Merge pull request #6786 from uutils/renovate/libc-0.x-lockfile
fix(deps): update rust crate libc to v0.2.160
2024-10-17 09:34:27 +02:00
renovate[bot]
508832c274
fix(deps): update rust crate libc to v0.2.160 2024-10-17 07:07:44 +00:00
Sylvestre Ledru
5baf675b34 tsort.pl: adjust error message 2024-10-17 00:27:52 +02:00
Sylvestre Ledru
ea9ad10644
Merge pull request #6783 from uutils/renovate/proc-macro2-1.x-lockfile
fix(deps): update rust crate proc-macro2 to v1.0.88
2024-10-16 19:57:36 +02:00
renovate[bot]
04354db725
fix(deps): update rust crate proc-macro2 to v1.0.88 2024-10-16 16:07:24 +00:00
Dorian Péron
f542bbca68 uucore(checksum): add support for comment lines in checksum verification 2024-10-16 12:27:49 +02:00
Luv-Ray
85b0ef132b
cp: fix symlink-overwrite error-priority (#6586) 2024-10-16 08:55:43 +02:00
Daniel Hofstetter
d1becbca22
Merge pull request #6781 from sylvestre/num-prime
num-prime => '0.4.4'
2024-10-16 07:25:21 +02:00
Sylvestre Ledru
6028953b7b num-prime => '0.4.4' 2024-10-15 22:46:44 +02:00
Szabó Attila
1781c3e07d cp: fix possible OOM and partial write with large files 2024-10-15 21:24:47 +02:00
Sylvestre Ledru
6935a0d67e
Merge pull request #6559 from RenjiSann/renji/fix-6554
ls: Fix quoting for dirnames with a colon `:` in recursive mode, and patch the `quote-align` GNU test
2024-10-15 11:44:15 +02:00
mhead
68e724f9a4 patch build-gnu.sh for quote-align 2024-10-15 11:11:23 +02:00
Dorian Péron
758b103c70 test(ls): Add test for #6554 2024-10-15 11:11:23 +02:00
Dorian Péron
2a1558f741 test(quoting_style): Fix tests 2024-10-15 11:11:23 +02:00
Dorian Péron
e292e05f57 ls: Fix quoting for control characters in shell mode 2024-10-15 11:11:23 +02:00
Dorian Péron
3c5a419537 ls: Escape dirname in recursive mode when it has a colon 2024-10-15 11:11:23 +02:00
Daniel Hofstetter
317f6d9a4a
Merge pull request #6780 from uutils/renovate/reactivecircus-android-emulator-runner-2.x
chore(deps): update reactivecircus/android-emulator-runner action to v2.33.0
2024-10-12 13:10:11 +02:00
renovate[bot]
f98e109489
chore(deps): update reactivecircus/android-emulator-runner action to v2.33.0 2024-10-12 09:47:09 +00:00
Sylvestre Ledru
3564b5c41f
Merge pull request #6776 from vikiminki/contributemd
CONTRIBUTE.md: Update broken link and formatting of link
2024-10-11 12:28:54 +02:00
vix
7a0ef229ad CONTRIBUTE: Update explicit url to markdown link 2024-10-11 11:48:55 +02:00
vix
164e113ac6 CONTRIBUTE: Update broken link to git book 2024-10-11 11:45:48 +02:00
Andrew Liebenow
c41c601b45
paste: permit the delimiter list to be empty (#6714)
* paste: permit the delimiter list to be empty

Also: refactored the delimiter processing logic

* Extract duplicated code into function

* Address PR comments. Improve code structure.

* Fix additional paste bugs

* Fix additional paste bugs

* Simplify backslash delimiter validation

* Fix Clippy violations
2024-10-10 15:36:30 +02:00
Justin Tracey
7c3a9380f1 join: avoid extra allocations when using -i 2024-10-09 19:58:55 +02:00
Daniel Hofstetter
4f79c0b69f
Merge pull request #6775 from jtracey/use-self
add back use_self clippy warning
2024-10-08 08:10:04 +02:00
Justin Tracey
08962a36df
add back use_self clippy warning 2024-10-07 23:06:29 -04:00
Daniel Hofstetter
c1f69b81d0
Merge pull request #6773 from uutils/renovate/proc-macro2-1.x-lockfile
fix(deps): update rust crate proc-macro2 to v1.0.87
2024-10-07 18:38:07 +02:00