coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

is there a real escape "quoting" style for ls?


From: Harald Dunkel
Subject: is there a real escape "quoting" style for ls?
Date: Sun, 13 May 2018 12:56:31 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0

Hi folks,

How can I tell ls to create a *real* escape shell style without quotes?
A file name like

        A Knight's Tale: Part 2

should be shown as

        A\ Knight\'s\ Tale\:\ Part\ 2

Similar to bash's command line completion.

I had hoped for QUOTING_STYLE=escape, but it just gives me

        A\ Knight's\ Tale:\ Part\ 2

Its obvious that

        touch A\ Knight's\ Tale:\ Part\ 2

doesn't work for bash, which means that the current implementation
of the "escape" quoting style is not really helpful.


Every helpful comment is highly appreciated
Harri



reply via email to

[Prev in Thread] Current Thread [Next in Thread]