On 2017-06-01 04:45, Pádraig Brady wrote:
On 31/05/17 15:24, [email protected] 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.
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.