[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: null separated ls output option
From: |
Pádraig Brady |
Subject: |
Re: null separated ls output option |
Date: |
Wed, 31 May 2017 21:45:08 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
On 31/05/17 15:24, address@hidden wrote:
> Hello
>
> Please consider accepting this patch I wrote which adds a new -0 feature
> to ls.
>
> This emits the entries separated by null bytes (similar to
> /proc/$PID/cmdline) which creates a completely unambiguous and simple
> output format that doesn't involve any quotation or escaping (like ls -1
> and ls -Q1) by using a separator which cannot occur inside a filename
> (\0). Inside emacs eshell for example, the output is nicely human
> readable with the null separator displayed as ^@.
Thanks for the patch.
This was previously discussed as referenced at:
https://www.gnu.org/software/coreutils/rejected_requests.html#ls
cheers,
Pádraig.