[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ls -1 does not work as described
From: |
Pádraig Brady |
Subject: |
Re: ls -1 does not work as described |
Date: |
Fri, 21 Nov 2014 17:01:00 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 |
On 21/11/14 16:27, Pádraig Brady wrote:
> On 14/11/14 17:47, Pádraig Brady wrote:
>> On 14/11/14 16:46, Alexander Weps wrote:
>>> >From man:
>>> -1 list one file per line
>>>
>>> If filename contains new line than it is printed on more than one line.
>>
>> True. Perhaps we should add to the description:
>> "See also -b and -q"
>> as they avoid the issue:
>>
>> \ls -q1 | cat
>
> Proposed patch attached.
Weird. Something stripped the patch which was attached in my local copy.
Attaching again for test, and putting also at:
https://www.pixelbeat.org/patches/coreutils/ls-1-newlines.patch
Pádraig.