Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Thu, 14 Oct 2004 01:10:52 -0400
From: Christopher Faylor <cgf-no-personal-reply-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: problem with find/grep
Message-ID: <20041014051052.GG14233@trixie.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <20041012171412.GC28277@trixie.casa.cgf.cx> <0I5H00N0KGV01O@pmismtp01.mcilink.com> <cb51e2e041013194316e9b399@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <cb51e2e041013194316e9b399@mail.gmail.com>
User-Agent: Mutt/1.4.1i

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/

