The Wanderer wrote:
Bob Proulx wrote:
The problem is the same as always, filenames with embedded newlines in
them.

I've never seen a filename with an embedded newline, and AFAICT standard
command-line tools cannot produce such.

Oh? ;-)
echo 'bar' > "`echo -e 'foo\nbar'`"

True, it isn't *easy* but it's certainly do-able. That said, except for such experiments I've never seen such files either, certainly they are not nearly so common as files with spaces in the name.

For data which contains whitespace but is newline-separated, the
suggested pipeline does seem like it would work. I appreciate the
suggestion.

Right, that was the objective... you're welcome! :-)

--
Matthew
Sending this e-mail does not constitute endorsement of the contents; I may change my mind later.



_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to