Janek Schleicher wrote:
> Adriano Allora wrote at Tue, 25 Mar 2003 15:39:14 -0800:
>
> > hello,
> > I need to delete single lines in a text (for example the 132nd, the 133rd and the 
> > 134th
> > ones). How can I do it in a structure like:
> >
> > if $. = selected number
> >             line = ""
> >
>
> As TMTWTDI, here's another one:
>
> while (<>) {
>     print if (1 .. 131) || (135 .. -1);
> }

    print unless (132 .. 134);    #    :-)

/R






-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to