Sylvestre Ledru
4482a6248f
Merge pull request #6157 from BenWiederhake/dev-tee-fail-open
...
tee: Correctly handle read-only files, avoid unnecessary wrapping
2024-04-01 01:41:40 +02:00
Sylvestre Ledru
d30952ed84
Merge pull request #6156 from cre4ture/fix/macos_ci_instability_on_clippy_with_retry
...
fix macos ci instability on clippy with retry
2024-04-01 01:41:23 +02:00
Ben Wiederhake
fb0c904b07
Merge pull request #6161 from paolobarbolini/drop-conv
...
chore(deps): drop conv dev-dependency
2024-03-31 23:39:49 +02:00
Paolo Barbolini
9e040a3df1
chore(deps): drop conv dev-dependency
2024-03-31 22:51:24 +02:00
Ben Wiederhake
dab6003b52
Merge pull request #6160 from mvo5/date-from-stdin
...
date: support `-f -` to read from stdin
2024-03-31 22:36:19 +02:00
Michael Vogt
af0ba86657
date: support -f -
to read from stdin
...
So far `date -f -` was not reading from stdin. This commit fixes
this.
Closes : #6058
2024-03-31 22:05:47 +02:00
Ben Wiederhake
675dd9404a
tee: avoid unnecessarily cloning argument list
2024-03-31 18:47:32 +02:00
Ben Wiederhake
8ab825c49f
tee: correctly handle writing to read-only files
2024-03-31 18:47:32 +02:00
Ulrich Hornung
1c0adba1ca
fix macos ci instability on clippy with retry
2024-03-31 17:46:52 +02:00
Ben Wiederhake
5c36ed92b8
tee: remove unnecessary memory indirection
...
This removes two layers of Box<NamedWriter<...>>.
The indirection appears to be unintentional, and makes it harder to
understand and change the code.
2024-03-31 17:01:49 +02:00
Daniel Hofstetter
0ef06bd82d
Merge pull request #6131 from sylvestre/0.0.26
...
Try to release 0.0.26 to see if the artifacts are generated
2024-03-31 12:47:55 +02:00
Sylvestre Ledru
b869c67d6a
Merge pull request #6150 from BenWiederhake/dev-dircolors-repeated
...
dircolors: accept repeated flags
2024-03-31 12:08:55 +02:00
Sylvestre Ledru
7be6e9a53b
Merge pull request #6151 from BenWiederhake/dev-dirnames-repeated
...
dirname: accept repeated flag
2024-03-31 09:27:08 +02:00
Sylvestre Ledru
01ea23ba21
Try to release 0.0.26 to see if the artifacts are generated
2024-03-30 22:51:24 +01:00
Ben Wiederhake
8e794d0654
dircolors: accept repeated flags
2024-03-30 22:50:57 +01:00
Ben Wiederhake
9dbf2c362d
dirname: accept repeated flag
2024-03-30 22:50:52 +01:00
Sylvestre Ledru
c99e1c6813
Merge pull request #6025 from cre4ture/feature/dd_direct_progress
...
dd: handle SIGUSR1 directly. not just every 1sec
2024-03-30 22:36:03 +01:00
Ben Wiederhake
393feaf890
Merge pull request #6153 from cre4ture/fix/windows_ci_by_not_upgrading_all_packages
...
don't upgrade packages - msys2-runtime upgrade fails in CI
2024-03-30 19:55:39 +01:00
Ulrich Hornung
765e09e3c4
don't upgrade packages - msys2-runtime upgrade fails in CI
2024-03-30 18:33:05 +01:00
Michael Vogt
3a6bf34284
date: fix date -f dates.txt is failing
( #6148 )
...
* date: fix `date -f dates.txt is failing`
This commit is a trivial followup for:
https://github.com/uutils/coreutils/pull/4917
and
https://github.com/uutils/parse_datetime/pull/12
The functionality to parse the datetime was moved into the parse_datetime
crate and the only (tiny) piece left is to call it from `date`.
It also adds the test-case from the original issue. I did not include
the two tests from PR#4917 because they appear to work even without
this change. I am happy to include them of course if prefered.
Closes : #4657
Thanks to Ben Schofield
* tests: tweak changes to test_date.rs to be more idiomatic
Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
---------
Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
2024-03-30 15:17:10 +01:00
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