This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: problem with find/grep
On Wed, Oct 13, 2004 at 07:43:33PM -0700, Joshua Daniel Franklin wrote:
>On Tue, 12 Oct 2004 12:04:11 -0600, Mark Paulus <mark.paulus@mci.com> wrote:
>> Thanks. I was not aware of the -print0 option. This is
>> what I love about *n*x: Always something new to learn,
>> or another way to find a solution.
>
>What! Do NOT use -print0! It will null-terminate EVERY LINE!
Huh? -print0 is perfectly usable for the situation in which it was raised,
namely for situations where there are filenames with spaces in them.
You shouldn't use it if you don't need it, of course. It certainly
won't display correctly if you do.
cgf
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/