Blog: 2023-08-23: Difference between revisions

From razwiki
Jump to navigation Jump to search
(Created page with "Legendary comment https://github.com/hashicorp/vagrant/issues/1673#issuecomment-28287711")
 
No edit summary
Line 1: Line 1:
Legendary comment https://github.com/hashicorp/vagrant/issues/1673#issuecomment-28287711
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\241''jaro - 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 <code>make</code>, 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.

Revision as of 11:37, 23 August 2023

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.