On Wed, Dec 19, 2001 at 03:40:21PM +0200, Prasanthi Tenneti wrote:
> how to remove a line from a file?
See perldoc -q 'line in a file', or the second question at
http://www.perldoc.com/perl5.6.1/pod/perlfaq5.html
Michael
--
Administrator www.shoebox.net
Progr
7;and ends with ']'.
Pls help me.
thank you.
cheers,
prasanthi.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Jon Molin
Sent: 19 December, 2001 15:37
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Remove a line
Prasanthi Tenneti wrot
3:40 PM
-> To: [EMAIL PROTECTED]
-> Subject: Remove a line
->
->
->
->
-> hi,
-> how to remove a line from a file?
-> pls help me.
-> thank you.
-> prasanthi.
->
->
-> --
-> To unsubscribe, e-mail: [EMAIL PROTECTED]
-> For additional command
hi,
perl -p -i -e 'undef $_ if //'
Amit
-Original Message-
From: Prasanthi Tenneti [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 19, 2001 3:40 PM
To: [EMAIL PROTECTED]
Subject: Remove a line
hi,
how to remove a line from a file?
pls help me.
thank you.
hi,
perl -p -i -e 'undef $_ if /$line/'
Amit
-Original Message-
From: Prasanthi Tenneti [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 19, 2001 3:40 PM
To: [EMAIL PROTECTED]
Subject: Remove a line
hi,
how to remove a line from a file?
pls help me.
thank you.
Prasanthi Tenneti wrote:
>
> hi,
> how to remove a line from a file?
> pls help me.
press the delete key repetedly? :)
but really, i think you'll need to give som more info. what line? first
line, last line, random line, line nbr n?
would this be it?
my $line_to_de
hi,
how to remove a line from a file?
pls help me.
thank you.
prasanthi.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]