I am stucking with my problem of reading xml file ,
I am trying to remove the new line chars form xml file and just readout the xml
tags.
Please any guys have a look at this one.
please guide me some good stuff abut regex in perl .
Thanks and Regards,
abhishek
I am stucking with my problem of reading xml file ,
I am trying to remove the new line chars form xml file and just
readout the xml tags.
Please any guys have a look at this one.
please guide me some good stuff abut regex in perl .
perldoc perlretut
perldoc perlre
Have fun!
Steve
On Thu, 21 Oct 2004 11:23:59 -0400 (EDT), Steve Bertrand
[EMAIL PROTECTED] wrote:
I am stucking with my problem of reading xml file ,
I am trying to remove the new line chars form xml file and just
readout the xml tags.
Please any guys have a look at this one.
please guide me some
Abhishek Dave wrote:
I am stucking with my problem of reading xml file ,
I am trying to remove the new line chars form xml file and just
readout the xml tags.
If you're trying to parse XML, use an XML parser.
http://perl-xml.sourceforge.net/faq/
--
To unsubscribe, e-mail: [EMAIL
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]
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_delete = 7;
open (F, 'some_file
hi,
perl -p -i -e 'undef $_ if /$line/' filename
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/' filename
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
: 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 commands, e-mail: [EMAIL PROTECTED]
-
- --
- To unsubscribe, e-mail: [EMAIL PROTECTED]
- For additional commands, e
Hi,
you are correct .
I have one file like this
[praveen@calvin]
rpm1.rpm
rpm2.rpm
rpm3.rpm
[praveen@calvin]
rpm3.rpm
qwe.rpm
[praveen@calvin]
I want to remove [praveen@calvin].
evey time [praveen@calvin]cahanges ,It depends on user.
so I want to remove the line which starts with '['and ends
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
Programmer, System
11 matches
Mail list logo