coreutils
coreutils copied to clipboard
`tac` cannot handle seperators that are not UTF-8.
Using uutils built from commit f6d581fc48027528a89e58236a66475aca4e3c80:
$ LC_ALL=en_US.iso8859-1 tac --separator=$(printf '\xe9') < /dev/null
error: invalid UTF-8 was detected in one or more arguments
For more information, try '--help'.
this is not specific to tac. Same for other tools as well, e.g.
$ LC_ALL=en_US.iso8859-1 ./target/debug/coreutils more --pattern=$(printf '\xe9')
error: invalid UTF-8 was detected in one or more arguments
For more information, try '--help'.