Blog: 2023-08-23

From razwiki
Revision as of 11:37, 23 August 2023 by Razzi (talk | contribs)
Jump to navigation Jump to search

Legendary comment https://github.com/hashicorp/vagrant/issues/1673#issuecomment-28287711

Coreutils ls is having a problem with this filename:

'06 The Bitter Suite (Pájaro - Evil Eye - Tennessee Train).flac'

it renders as:


'06 The Bitter Suite (P'$'\303\241jaro - Evil Eye - Tennessee Train).flac'

But exa and this coreutils written in rust: https://github.com/uutils/coreutils

don't have that issue.

So I built that coreutils with make, and put its ls in /usr/local/bin:

sudo cp ~/forks/uutils-coreutils/target/debug/ls /usr/local/bin/

Now that ls is found:

$ which ls
/usr/local/bin/ls

Problem solved.