Post by ç©ä¸¹å°¼ Dan Jacobson
For files with blanks in their names,
$ ls -t | tr \\n \\0 | xargs -0 more > /tmp/z.txt
Please add a --print0 option. like find(1) has.
I think that adding a --print0 option to 'ls' is not wise because it
would suggest to people seeing it that 'ls' should be used in scripts.
But 'ls' is a command designed for human interaction not for use in
scripts. Using 'find' for scripted use is the desired utility.
Such a patch has previously been submitted.