shell-script-pt
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: comando grep


From: gleissonmb
Subject: Re: comando grep
Date: Thu, 23 Aug 2007 17:57:51 -0000
User-agent: eGroups-EW/0.82

Valeu gente!!!


--- Em address@hidden, "Tiago Barcellos Peczenyj"
<tiago.peczenyj@...> escreveu
>
> Bruno, egrep é o bom e velho grep sob forma de script
> 
> ~> cat /bin/egrep
> #!/bin/sh
> exec /bin/grep -E ${1+"$@"}
> 
> []´s Tiago
> 
> On 8/23/07, Bruno Gunter Fricke <gunter@...> wrote:
> >
> > Porque não direto o egrep?
> >
> >  [root@gunter gunter]# egrep 'TESTE.*DENIED' testeegrep
> >  Linha 02 - TESTE gleisson marin bissa DENIED 456
> >
> >  Note que tem um ".*" ali em cima, que é o coringão! Qualquer coisa em
> >  qualquer quantidade.
> 
> -- 
> Tiago B Peczenyj
> Linux User #405772
> 
> http://peczenyj.blogspot.com/
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]