Daniel Hofstetter

Results 48 issues of Daniel Hofstetter

Show an error if the user provides a delimiter list ending with an unescaped backslash. For example, `paste -d'\'` will now show an error whereas `paste -d'\\'` will work fine....

`df-output.sh` (from the GNU coreutils test suite) tests, for example, whether `df -i --output` causes a "mutually exclusive options" error and shows a corresponding error message. With uutils df, clap...

U - df

This is a reminder so that the issue doesn't get forgotten after its implementation got reverted in #3442. ``` $ df | tr " " "_" Filesystem_____1K-blocks______Used_Available_Use%_Mounted_on dev______________4006844_________0___4006844___0%_/dev run______________4014808______1340___4013468___1%_/run /dev/sda8______458091736_131027036_303771928__31%_/...

U - df

This PR let's clap handle help and version, and removes the deprecated `AppSettings::NoAutoHelp` and `AppSettings::NoAutoVersion`.

This PR replaces the usage of clap's deprecated `value_of()` with `get_one()`.

The GNU coreutils have two tests for `tr`: `tr-case-class.sh` and `tr.pl` (see https://github.com/coreutils/coreutils/tree/master/tests/misc). However, on the [test coverage page](https://uutils.github.io/user/test_coverage.html) and in the [JSON file](https://github.com/uutils/coreutils-tracking/blob/main/gnu-full-result.json) the result of `tr.pl` is missing.

good first issue

This PR makes the `total` line use the delimiter specified with `--output-delimiter` and refactors the delimiter handling.

This PR removes the `_event_counter` var. This variable is increased but never read. It also renames the `_timeout_counter` var to `timeout_counter`, because the `_` at the beginning indicates the var...

This PR adds the implementation for the new help structure discussed in https://github.com/uutils/coreutils/issues/4368, which no longer uses `Usage` and `About` headers: ```` # numfmt ``` numfmt [OPTION]... [NUMBER]... ``` Convert...

When running `cp --link a a`, GNU `cp` doesn't do anything whereas uutils `cp` shows a "same file" error. This PR adapts the behavior of uutils `cp` to match the...