coreutils
[Top][All Lists]
Advanced

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

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


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

On 5/13/18 1:08 PM, L A Walsh wrote:
> 
> If you look under --quoting-style, you'll
> see:
>  --quoting-style=WORD   use quoting style WORD for entry names:
>                         literal, locale, shell, shell-always,
>                         shell-escape, shell-escape-always, c, escape
> 
> I haven't verified, but it looks like one of the options
> with the word 'shell' in it might be more in line w/what you
> want...
> 

Maybe you should.

        c                       "A Knight's Tale: Part 2"
        escape                  A\ Knight's\ Tale:\ Part\ 2
        literal                 A Knight's Tale: Part 2
        locale                  'A Knight\'s Tale: Part 2'
        shell                   "A Knight's Tale: Part 2"
        shell-always            "A Knight's Tale: Part 2"
        shell-escape            "A Knight's Tale: Part 2"
        shell-escape-always     "A Knight's Tale: Part 2"

bash command line completion gives me one of

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


Regards
Harri



reply via email to

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