bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Feature request for cut and/or sort


From: Matthew Woehlke
Subject: Re: Feature request for cut and/or sort
Date: Mon, 23 Jul 2007 18:55:14 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.12) Gecko/20070509 Thunderbird/1.5.0.12 Mnenhy/0.7.4.0

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]