delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/10/14/01:10:40

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <cgf-no-personal-reply-please AT cygwin DOT com>
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> <cb51e2e041013194316e9b399 AT mail DOT gmail DOT com>
Mime-Version: 1.0
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 DOT paulus AT mci DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019