Commit graph

13508 commits

Author SHA1 Message Date
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
Andrew Liebenow
e53dd5ffe1 tr: forbid non-numeric repeat counts 2024-10-12 03:44:46 -05:00
Andrew Liebenow
0bf5a68c54 tr: forbid backwards ranges 2024-10-12 01:40:05 -05:00
Andrew Liebenow
a696e609eb tr: correctly handle multibyte octal sequences 2024-10-12 00:53:54 -05: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
Sylvestre Ledru
fae477b3e3
Merge pull request #6772 from lcheylus/openbsd-users-clippy
users: fix lint error manual_unwrap_or_default on OpenBSD
2024-10-07 18:11:58 +02:00
renovate[bot]
ee686feae7
fix(deps): update rust crate proc-macro2 to v1.0.87 2024-10-07 16:07:35 +00:00
Laurent Cheylus
c7cce2df37
users: fix lint error manual_unwrap_or_default on OpenBSD
Fix uutils/coreutils#6771

Signed-off-by: Laurent Cheylus <foxy@free.fr>
2024-10-07 17:32:35 +02:00
Daniel Hofstetter
43d9944f04
Merge pull request #6770 from uutils/renovate/procfs-0.x
chore(deps): update rust crate procfs to 0.17
2024-10-07 07:11:02 +02:00
renovate[bot]
ffce59b905
chore(deps): update rust crate procfs to 0.17 2024-10-07 03:12:00 +00:00
Sylvestre Ledru
0800d5170e
Merge pull request #6769 from uutils/renovate/vmactions-freebsd-vm-1.x
chore(deps): update vmactions/freebsd-vm action to v1.1.4
2024-10-06 18:39:20 +02:00
renovate[bot]
4224b19ab3
chore(deps): update vmactions/freebsd-vm action to v1.1.4 2024-10-06 16:21:30 +00:00
Justin Tracey
a51a731704
join: add support for multibyte separators (#6736)
* join: add test for multibyte separators

* join: implement support for multibyte separators

* join: use a trait instead of an enum for separator

* join: test whitespace merging
2024-10-06 11:48:08 +02:00
GiM
d8eb4e2214
cat: fix #5186 by adding explicit flush. (#5256)
* fix #5186 by adding explicit flush.
* make test machine-independent

---------

Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2024-10-06 11:31:31 +02:00
Sylvestre Ledru
bdaeac12f4 Use github for gnulib 2024-10-06 10:32:49 +02:00
Daniel Hofstetter
7d1a472501
Merge pull request #6768 from uutils/renovate/once_cell-1.x-lockfile
chore(deps): update rust crate once_cell to v1.20.2
2024-10-06 10:25:39 +02:00
renovate[bot]
2a9de23b6c
chore(deps): update rust crate once_cell to v1.20.2 2024-10-05 19:52:24 +00:00
Sylvestre Ledru
d41d51a0be
Merge pull request #6719 from andrewliebenow/basenc-faster-encoding
basenc: perform faster, streaming encoding
2024-10-05 16:33:55 +02:00
Andrew Liebenow
32e1c54c78 Fix "coreutils manpage base64" bug 2024-10-05 08:17:10 -05:00
Sylvestre Ledru
50f99580b4
Merge pull request #6761 from cakebaker/users_use_option_instead_of_vec
users: use `Option` instead of `Vec` for file arg
2024-10-03 08:50:29 +02:00
Sylvestre Ledru
5ae8316ace
Merge pull request #6764 from cakebaker/cat_remove_duplicate_code
cat: use `write_end_of_line()`  to avoid duplicate code
2024-10-03 08:50:19 +02:00
Sylvestre Ledru
2d90bda67c
Merge pull request #6765 from cakebaker/ci_use_ubuntu_v24
ci: use ubuntu v24 for GNU tests workflow
2024-10-03 08:50:03 +02:00
Daniel Hofstetter
91e7355064 ci: install libselinux1-dev 2024-10-02 16:47:33 +02:00
Daniel Hofstetter
96cb1646e9 ci: use ubuntu v24 for GNU tests 2024-10-02 16:35:26 +02:00
Daniel Hofstetter
db36051383 cat: use write_end_of_line to avoid duplicate code 2024-10-02 15:21:35 +02:00
Peng Zijun
382e787d1c
cat: handle CRLF delimiters correctly (#6763)
* fix issue #6248

* add test to cat for the case of issue #6248
2024-10-02 15:15:06 +02:00
Daniel Hofstetter
462b1deb51 users: use Option instead of Vec for file arg 2024-10-01 16:41:29 +02:00
Sylvestre Ledru
e0e3ea6996
Merge pull request #6757 from uutils/renovate/lscolors-0.x
chore(deps): update rust crate lscolors to 0.20.0
2024-10-01 14:05:32 +02:00
Sylvestre Ledru
095819b22e
Merge pull request #6758 from BenWiederhake/dev-rm-unused-file-printf
printf: delete unused file
2024-10-01 13:29:25 +02:00
Ben Wiederhake
5824ce5890 printf: delete unused file
Found by #6721.
2024-10-01 12:58:59 +02:00
renovate[bot]
e500d6d711
chore(deps): update rust crate lscolors to 0.20.0 2024-10-01 10:14:43 +00:00
Sylvestre Ledru
f1cad085ef
Merge pull request #6756 from BenWiederhake/dev-tr-unignore
tr: enable ignored tests that have already been fixed
2024-10-01 08:01:10 +02:00
Ben Wiederhake
576374d0c6 tr: enable ignored tests that have already been fixed
Specifically:
- check_against_gnu_tr_tests_e: Yes, the test is about octal interpretation.
- check_against_gnu_tr_tests_ross_0a: Yes, the [Y*] generates multiple Y's, which causes conflicting replacements, which is why the operation is rejected.
- check_against_gnu_tr_tests_ross_0b: Same, plus a newline character was accidentally forgotten.
- check_against_gnu_tr_tests_fowler_1: Apparently the problem was fixed at some point.
2024-10-01 00:57:53 +02:00
Sylvestre Ledru
1f0b519ee1
Merge pull request #6754 from BenWiederhake/dev-stable-precommit
Change the git pre-commit actions to *actually* use stable
2024-09-30 23:35:00 +02:00
Ben Wiederhake
caa4d1c57b Change the git pre-commit actions to *actually* use stable
This is in response to #6715: e8bb8dffa1
The pre-commit actions have a higher MSRV than the overall project (1.70.0),
so if 1.70.0 is the configured default, this lead to problems (#6730).
This commit fixes the situation by specifying 'stable', whatever that means on the user's system.
2024-09-30 22:51:30 +02:00
Daniel Hofstetter
57557c6d7c
Merge pull request #6753 from uutils/renovate/redox_syscall-0.x-lockfile
chore(deps): update rust crate redox_syscall to v0.5.7
2024-09-30 10:37:51 +02:00