[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#24225: ls doesn't quote newlines with -Q properly
From: |
Pádraig Brady |
Subject: |
bug#24225: ls doesn't quote newlines with -Q properly |
Date: |
Mon, 15 Aug 2016 10:04:46 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
On 14/08/16 18:13, E. Choroba wrote:
> Filename containing a newline is not listed in a way reusable by shell
> regardless of the --quoting-style:
There were many cases where the output from ls was unusable.
This was fixed since coreutils-8.25 where the new 'shell-escape'
quoting style was introduced, and in fact is used by default.
$ ls a?b --quoting-style='shell-escape'
'a'$'\n''b'
thanks,
Pádraig