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.