Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 14 Oct 2004 01:10:52 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: problem with find/grep Message-ID: <20041014051052.GG14233@trixie.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20041012171412 DOT GC28277 AT trixie DOT casa DOT cgf DOT cx> <0I5H00N0KGV01O AT pmismtp01 DOT mcilink DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 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/