si care ar fi comanda pentru perl?

On Wed, 20 Feb 2002, Viorel Anghel wrote:

>
> sed nu poate sa modifice fisiere "in-place". ori folosesti perl (-p -i
> -e...), ori faci ceva de genul
>       sed /BEGIN/, /END/d fisier1 > fisier2
>       mv fisier2 fisier1
>
> On Wed, Feb 20, 2002 at 02:48:31PM +0200, Claudiu wrote:
> > Salut
> > Sunt incepator in ale sed-ului si am nevoie sa fac ca sed-ul sa stearga
> > dintr-un fisier de la linia in care gasete patternul specificat de mine
> > pana la linia in care gaseste urmatorul pattern tot de mine specificat...
> > Cel mai problematic e. ca nu stiu sa fac sa opereze pe fisierul care-l
> > specific eu... Tot timpul imi trimite rezultatul la STDOUT ceea ce eu nu
> > vreau.. Vreau sa-mi modifice fisierul pe care se face operatiunea....
> >
> > Claudiu
> >
> >
> >
> >
> > ---
> > Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
> > unsubscribe from this list.
>
> --
>         ___
>        <o-o>    Viorel ANGHEL <vang @ lug.ro>
>        [`-']
>        -"-"-    In Linux We Trust.
> ---
> Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
> unsubscribe from this list.
>
>
>



---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to 
unsubscribe from this list.

Raspunde prin e-mail lui