When I read nul-delimited lines from find or xargs, I usually do that with the -0 switch (which is equivalent to $/ = "\0";), and I don't chomp the data as the extra nul byte doesn't hurt after filenames.
In reply to Re: Read a list of NUL-delimited names from STDIN to be processed
by ambrus
in thread Read a list of NUL-delimited names from STDIN to be processed
by merlyn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |