On Mon, 9 Jun 2008, Giorgos Keramidas wrote:
> On Tue, 10 Jun 2008 01:44:36 +1000 (EST), Ian Smith <[EMAIL PROTECTED]>
> wrote:
> >On Sun, 8 Jun 2008 16:07:12 -0700 Bill Campbell <[EMAIL PROTECTED]> wrote:
> >>On Mon, Jun 09, 2008, Raphael Becker wrote:
> >>>On Sun, Jun 08, 2008 at 10:15:50PM
On Tue, 10 Jun 2008 01:44:36 +1000 (EST), Ian Smith <[EMAIL PROTECTED]> wrote:
>On Sun, 8 Jun 2008 16:07:12 -0700 Bill Campbell <[EMAIL PROTECTED]> wrote:
>>On Mon, Jun 09, 2008, Raphael Becker wrote:
>>>On Sun, Jun 08, 2008 at 10:15:50PM +0200, Wojciech Puchar wrote:
find . -type f -print0|xa
On Sun, 8 Jun 2008 16:07:12 -0700 Bill Campbell <[EMAIL PROTECTED]> wrote:
> On Mon, Jun 09, 2008, Raphael Becker wrote:
> >On Sun, Jun 08, 2008 at 10:15:50PM +0200, Wojciech Puchar wrote:
> >> find . -type f -print0|xargs -0 grep
> >
> >There's no more need for find | xargs
> >
> >Try:
On Sun, 08 Jun 2008 22:23:19 +0200, Simon Jolle sjolle <[EMAIL PROTECTED]>
wrote:
> On 06/08/2008 10:12 PM, Bill Campbell wrote:
>> On Sun, Jun 08, 2008, Jos Chrispijn wrote:
>>> I tried to make a grep script on find a string in all files on path
>>> ./ and down. It does anything exept searching i
On Sun, 8 Jun 2008 16:07:12 -0700, Bill Campbell <[EMAIL PROTECTED]> wrote:
> On Mon, Jun 09, 2008, Raphael Becker wrote:
>>On Sun, Jun 08, 2008 at 10:15:50PM +0200, Wojciech Puchar wrote:
>>> find . -type f -print0|xargs -0 grep
>>
>>There's no more need for find | xargs
>>
>>Try:
>>
>>find . -t
On Jun 8, 2008, at 5:50 PM, Raphael Becker wrote:
find . -type -f -exec grep {} \+
-exec foo {} \+ behaves like xargs foo
-exec foo {} \; exec foo for every file
Way cool! I hadn't known that about find(1).
Cheers,
-j
___
freebsd-questions@free
On Mon, Jun 09, 2008, Raphael Becker wrote:
>On Sun, Jun 08, 2008 at 10:15:50PM +0200, Wojciech Puchar wrote:
>> find . -type f -print0|xargs -0 grep
>
>There's no more need for find | xargs
>
>Try:
>
>find . -type -f -exec grep {} \+
>
>-exec foo {} \+ behaves like xargs foo
>-exec foo {} \
On Sun, Jun 08, 2008 at 10:15:50PM +0200, Wojciech Puchar wrote:
> find . -type f -print0|xargs -0 grep
There's no more need for find | xargs
Try:
find . -type -f -exec grep {} \+
-exec foo {} \+ behaves like xargs foo
-exec foo {} \; exec foo for every file
Regards
Raphael
--
Raphael
On 06/08/2008 10:26 PM, Matthew Seaman wrote:
> The system supplied grep(1) /is/ gnu grep:
>
> happy-idiot-talk:~:% grep --version grep (GNU grep) 2.5.1-FreeBSD
[...]
Sorry you are right. I didn't had any FreeBSD box around.
> Cheers,
> Matthew
cheers
Simon
signature.asc
Descriptio
On Sun, Jun 08, 2008 at 09:34:20PM +0100, Frank Shute wrote:
>
> On Sun, Jun 08, 2008 at 10:23:19PM +0200, Simon Jolle sjolle wrote:
> >
> > On 06/08/2008 10:12 PM, Bill Campbell wrote:
> > > On Sun, Jun 08, 2008, Jos Chrispijn wrote:
> > >> I tried to make a grep script on find a string in all fil
--On June 8, 2008 1:12:56 PM -0700 Bill Campbell <[EMAIL PROTECTED]>
wrote:
On Sun, Jun 08, 2008, Jos Chrispijn wrote:
I tried to make a grep script on find a string in all files on path ./
and down. It does anything exept searching in files and reporting them.
Is there a Grep Guru who can hin
On Sun, Jun 08, 2008 at 10:23:19PM +0200, Simon Jolle sjolle wrote:
>
> On 06/08/2008 10:12 PM, Bill Campbell wrote:
> > On Sun, Jun 08, 2008, Jos Chrispijn wrote:
> >> I tried to make a grep script on find a string in all files on path ./
> >> and down. It does anything exept searching in files a
Jos Chrispijn wrote:
I tried to make a grep script on find a string in all files on path ./
and down. It does anything exept searching in files and reporting them.
Is there a Grep Guru who can hint me out? Thanks,
-- Jos
___
freebsd-questions@freebsd.
Simon Jolle sjolle wrote:
On 06/08/2008 10:12 PM, Bill Campbell wrote:
On Sun, Jun 08, 2008, Jos Chrispijn wrote:
I tried to make a grep script on find a string in all files on path ./
and down. It does anything exept searching in files and reporting them.
Is there a Grep Guru who can hint me
On 06/08/2008 10:12 PM, Bill Campbell wrote:
> On Sun, Jun 08, 2008, Jos Chrispijn wrote:
>> I tried to make a grep script on find a string in all files on path ./
>> and down. It does anything exept searching in files and reporting them.
>> Is there a Grep Guru who can hint me out? Thanks,
>
> I
I tried to make a grep script on find a string in all files on path ./ and
down. It does anything exept searching in files and reporting them.
Is there a Grep Guru who can hint me out? Thanks,
find . -type f -print0|xargs -0 grep
anyway it's nothing about being Grep Guru, or Find Guru
but i
On Sun, Jun 08, 2008, Jos Chrispijn wrote:
>I tried to make a grep script on find a string in all files on path ./
>and down. It does anything exept searching in files and reporting them.
>Is there a Grep Guru who can hint me out? Thanks,
I expect you need something like:
find . -type f -print0
17 matches
Mail list logo