Added, thanks.
Hi James,
Thanks for the quick reply.
Why not just use \0 in the format specification?
Of course. That was the basic idea of what I was trying.
Alternatively, emit the symlinks into a separate file with -fprintf.
Yes, a viable and more reliable alternative. Only downside is that it's
aracters. So
> what I really want is -ls0, where the entries are delimited with nulls
> instead of newlines.
Why not just use \0 in the format specification?
~$ f="hello
world"
~$ echo "$f" | od -c
000 h e l l o \n w o r l d \n
015
~$
James or anyone,
I've been in the habit of using find -ls to record all files in a given
hierarchy. Of course, parsing the output of that becomes problematic
when a file name contains a newline or other special characters. So
what I really want is -ls0, where the entries are delimited