Ben Wiederhake

Results 121 issues of Ben Wiederhake

First of all, let's observe that uutils and GNU coreutils behave identically in a special edgecase, and emit exactly the same warning message: ```console $ touch file $ chmod =0777...

help wanted

`export LC_ALL=C` is a reasonably-popular way to "disable" anything locale-related. When dealing with `sort`, it is even recommended. It's what some sysadmins do to just "get rid of" locales. I...

U - ls

`%s` is the field for "number of seconds since UNIX epoch", and `%ö` is the field for "doesn't make sense, so just emit `%ö` verbatim". ```console $ date +%? %?...

U - date

When combining the special-cases "copying file to itself" and "symlinks", weird things happen. Currently, about half of the scenarios I tested try something wrong, in one case even succeeding when...

U - cp

When doing `cp -vl --remove-destination regularfile existing_symlink_to_regularfile`, `cp` should report that it removes the destination file (because it needs to make space in order to create the new hardlink). ```console...

U - cp

The Base64 alphabet has, as the name suggests, 64 letters. 22 of these letters look like hexadecimal digits. That means that a random string of 8 Base64 letters (which encodes...

U - hashsum
U - cksum

When checking a cksum-file, hexstrings that have the wrong length are reported as mismatching errors instead of simply broken formatting. (Arguably, they should be treated as errors for safety, but...

U - cksum

Currently, we convert every line to a `String`, which has the disadvantage of not properly handling malformed UTF-8, even if it appears in an "irrelevant" place: ```console $ cat sums...

U - cksum

This is just a minor issue about which error takes precedence. In particular, the following invocation of `tr` is invalid for three different reasons: - The usages of `[:upper:]` and...

U - tr

Let's say we have a regular file, and two distinct symlinks pointing at it, owned by different users: ```console $ ln -s README.md symlink1 $ ln -s README.md symlink2 $...

U - cp