linux-mips-fnet
[Top] [All Lists]

Re: Saturday in Paris

To: linux-mips@fnet.fr
Subject: Re: Saturday in Paris
From: Ralf Baechle <ralf@waldorf-gmbh.de>
Date: Mon, 16 Oct 1995 19:37:04 +0100 (MET)
In-reply-to: <199510161626.KAA10204@rover.village.org> from "Warner Losh" at Oct 16, 95 10:26:21 am
Hi,

> : - one should alias 'find . -name "*.c" -exec grep PATTERN {} \; -print'
> 
> find -name "*.c" -print | xargs egrep PATTERM

Use GNU find with

find -name "*.c" -print0 | xargs -0 egrep PATTERM

or your nice find construct might break on spaces in filenames ...

  Ralf

<Prev in Thread] Current Thread [Next in Thread>