Commit graph

12723 commits

Author SHA1 Message Date
Daniel Hofstetter
eca8bafcc1
Merge pull request #6147 from sylvestre/tail-pid
tail: allow multiple usage of --pid to match upstream (regression of …
2024-03-30 14:07:33 +01:00
Daniel Hofstetter
4a64337f52
Merge pull request #6149 from mvo5/fix-deprecated-timestamp_subsec_nanos
tests: fix deprecation warning `timestamp_subsec_nanos()`
2024-03-30 13:24:23 +01:00
Michael Vogt
b703ec8795
tests: fix formating of test_touch.rs
Thanks to Sylvestre!

Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
2024-03-30 12:31:07 +01:00
Michael Vogt
a2f8084d48 tests: fix deprecation warning timestamp_subsec_nanos()
When building coreutils I got the following deprecation warning:
```
warning: use of deprecated method `chrono::NaiveDateTime::timestamp_subsec_nanos`: use `.and_utc().timestamp_subsec_nanos()` instead
  --> tests/by-util/test_touch.rs:37:59
   |
37 | ..._utc().timestamp(), tm.timestamp_subsec_nanos())
   |                           ^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(deprecated)]` on by default

warning: `coreutils` (test "tests") generated 1 warning
```
This commit fixes it.
2024-03-30 11:17:22 +01:00
Daniel Hofstetter
28f7d56f6d
Merge pull request #6146 from sylvestre/mktemp
mktemp: adjust the error message to match 9.5
2024-03-30 08:12:15 +01:00
Sylvestre Ledru
f0286eb77d tail: allow multiple usage of --pid to match upstream (regression of 9.5)
tested by tests/tail/pid
2024-03-30 07:28:31 +01:00
Sylvestre Ledru
ee198126af mktemp: adjust the error message to match 9.5 2024-03-29 21:52:48 +01:00
Daniel Hofstetter
20a5e9669c
Merge pull request #6141 from BenWiederhake/dev-tr-space-class
tr: fix "space" class, test "blank" class for order
2024-03-29 16:20:49 +01:00
Daniel Hofstetter
8ae8de0cad
Merge pull request #6139 from sylvestre/9.5
upgrade to GNU coreutils 9.5 as ref
2024-03-29 07:31:45 +01:00
Daniel Hofstetter
f75a5c7dbb
Merge pull request #6140 from uutils/sylvestre-patch-3
Doc: Explain that it is allowed to look at OpenBSD or Apple sources
2024-03-29 07:19:03 +01:00
Ben Wiederhake
e9045be593 tr: fix order inside class [:blank:] 2024-03-29 00:55:34 +01:00
Ben Wiederhake
76a2f2128b tr: guard against regressions of class [:space:] 2024-03-29 00:50:33 +01:00
Sylvestre Ledru
fb6c31a639
Doc: Explain that it is allowed to look at OpenBSD or Apple sources
and look to Apple impl
2024-03-28 22:49:38 +01:00
Sylvestre Ledru
d535095d0f build-gnu.sh: adjust of some of the path 2024-03-28 21:10:09 +01:00
Sylvestre Ledru
3222c9225c upgrade to GNU coreutils 9.5 as ref 2024-03-28 20:43:49 +01:00
Daniel Hofstetter
318a0f2927
Merge pull request #6136 from uutils/renovate/chrono-0.x
chore(deps): update rust crate chrono to 0.4.37
2024-03-27 15:11:41 +01:00
renovate[bot]
2b790e4808
chore(deps): update rust crate chrono to 0.4.37 2024-03-27 13:41:05 +00:00
Daniel Hofstetter
595f4f98af
Merge pull request #6135 from LucasLarson/relative-dates
docs: date: Remove unimplemented example
2024-03-27 08:22:03 +01:00
Lucas Larson
3bf5582dbb
docs: date: Remove unimplemented example
also treated in #2685 and #3463

Signed-off-by: Lucas Larson <LucasLarson@riseup.net>
2024-03-26 13:44:23 -04:00
Sylvestre Ledru
2d7fa36aef
Merge pull request #6106 from sargas/fmt-negative-widths
fmt: allow negative widths as first argument
2024-03-25 13:43:54 +01:00
Sylvestre Ledru
33aef21bec
Merge pull request #6128 from cakebaker/cargo_toml_remove_caret
Cargo.toml: remove unnecessary caret
2024-03-25 11:10:10 +01:00
Daniel Hofstetter
e1adc1866e Cargo.toml: remove unnecessary caret 2024-03-25 10:37:15 +01:00
Terts Diepraam
d060134d97
uniq: print version and help on stdout again (#6123)
* uniq: print version and help on stdout again

* uniq: format test

* uniq: replace redundant closure with fn

---------

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2024-03-25 09:40:36 +01:00
Terts Diepraam
e4a1455af5
Merge pull request #6114 from BenWiederhake/dev-csplit-repeated-args
csplit: Handle repeated args, fix remainder after error
2024-03-25 09:27:06 +01:00
Joseph Jon Booker
7b928f792c fmt: allow negative widths as first argument
Also fix error messages for consistency with GNU fmt
2024-03-24 20:59:53 -05:00
Daniel Hofstetter
6f07bf10a1
Merge pull request #6112 from BenWiederhake/dev-comm-all-args
comm: Handle duplicated flags and output-delimiter correctly
2024-03-24 16:39:05 +01:00
Daniel Hofstetter
5803d3b683
comm: remove "comm" from error msg 2024-03-24 16:09:15 +01:00
Sylvestre Ledru
c97cb30934
Merge pull request #6120 from tertsdiepraam/fixup-show-utils
show-utils.sh: fix jq query
2024-03-24 12:26:43 +01:00
Terts Diepraam
3b80d75ee7 show-utils.sh: fix jq query 2024-03-24 10:57:31 +01:00
Sylvestre Ledru
82550b43d2
Merge pull request #6115 from BenWiederhake/dev-factor-repeat
factor: correctly handle repeated flag
2024-03-24 09:54:55 +01:00
Sylvestre Ledru
b168d1e7fe
Merge pull request #6118 from uutils/renovate/rayon-1.x
chore(deps): update rust crate rayon to 1.10
2024-03-24 09:52:29 +01:00
renovate[bot]
3bdb1605a7
chore(deps): update rust crate rayon to 1.10 2024-03-24 07:39:46 +00:00
Ben Wiederhake
388021833e factor: correctly handle repeated flag 2024-03-24 00:07:08 +01:00
Ben Wiederhake
884ef1f54b comm: implement and test correct handling of repeated flags 2024-03-23 23:35:40 +01:00
Ben Wiederhake
801edbbcb4 comm: implement and test correct handling of repeated --output-delimiter 2024-03-23 23:35:40 +01:00
Ben Wiederhake
1fa0b032e5 comm: permit and test separators that contain a hyphen 2024-03-23 23:35:40 +01:00
Ben Wiederhake
27fd3e5d39 csplit: do not emit remainder of input after an error 2024-03-23 23:21:53 +01:00
Ben Wiederhake
44fa2e960a csplit: correctly handle repeated arguments 2024-03-23 23:21:53 +01:00
Sylvestre Ledru
dcb53b6c99 head: add missing features 2024-03-23 22:41:31 +01:00
Sylvestre Ledru
68c77b4bd1 push the cargo lock too 2024-03-23 22:18:05 +01:00
Sylvestre Ledru
2246a0fad1 0.0.24 => 0.0.25 2024-03-23 22:08:05 +01:00
Sylvestre Ledru
a1198a34e6
Merge pull request #6111 from sylvestre/0.0.25
update of the version to 0.0.25
2024-03-23 20:34:56 +01:00
Sylvestre Ledru
ef3a584214 update of the version to 0.0.25 2024-03-23 19:55:17 +01:00
Sylvestre Ledru
ff1ecf6242
Merge pull request #6108 from BenWiederhake/dev-truncate-reference-create
truncate: correctly handle file (non-)creation
2024-03-23 18:46:16 +01:00
Sylvestre Ledru
c13ebe5e26
Merge pull request #6076 from cre4ture/fix/test_ls_with_f2fs
fix `ls`:  test_ls_allocation_size fails on filesystem `f2fs` (android)
2024-03-23 18:38:08 +01:00
Ben Wiederhake
a1ad751aa9 truncate: deduplicate fifo check, fix handling of missing files
The fifo check used to include 'metadata(filename)?', which would error
if the file does not exist. In our case however, this is not an error.
2024-03-23 17:50:39 +01:00
Ulrich Hornung
066032b1d3
apply different reference sizes for f2fs (android) case 2024-03-23 16:54:19 +01:00
Ulrich Hornung
174e9a0af9
add documentation 2024-03-23 16:51:12 +01:00
Ulrich Hornung
f3bbf53412
improve debug info provided by CI 2024-03-23 16:36:01 +01:00
Daniel Hofstetter
cec981350a
Merge pull request #6086 from sylvestre/shred-v
shred: some small improvements
2024-03-23 15:26:38 +01:00