[Top][All Lists]

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

Re: null separated ls output option

From: rain1
Subject: Re: null separated ls output option
Date: Wed, 28 Jun 2017 13:53:00 +0000
User-agent: Roundcube Webmail/1.0.6

On 2017-06-01 04:45, Pádraig Brady wrote:
On 31/05/17 15:24, address@hidden wrote:

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:


It says

Existing tools like find(1) were thought sufficient

but find does not support sorting by date which ls does.

I hope this patch can be reconsidered for inclusion.

reply via email to

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