Click here to get back home

Printing regex match

 HomeNewsGroups | Search

comp.lang.perl.misc - PERL programming language 

get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Printing regex match Dave 09-25-2004
Posted by Dave on September 25, 2004, 1:27 pm
Please log in for more thread options
show/hide quoted text


show/hide quoted text

show/hide quoted text


Repair the corrupted file:

perl -p -i -e 'tr/\r//d' bad_file


--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas

Posted by Eric Amick on September 25, 2004, 10:02 am
Please log in for more thread options
show/hide quoted text


show/hide quoted text

show/hide quoted text


Repair the corrupted file:

perl -p -i -e 'tr/\r//d' bad_file


--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas

Posted by Anno Siegel on September 25, 2004, 2:07 pm
Please log in for more thread options
show/hide quoted text


show/hide quoted text

show/hide quoted text


Repair the corrupted file:

perl -p -i -e 'tr/\r//d' bad_file


--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas

Posted by Dave on September 25, 2004, 9:10 pm
Please log in for more thread options
show/hide quoted text


show/hide quoted text

show/hide quoted text


Repair the corrupted file:

perl -p -i -e 'tr/\r//d' bad_file


--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas

Posted by John W. Krahn on September 25, 2004, 11:19 pm
Please log in for more thread options
show/hide quoted text


show/hide quoted text

show/hide quoted text


Repair the corrupted file:

perl -p -i -e 'tr/\r//d' bad_file


--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas

Similar ThreadsPosted
Printing only on a match August 24, 2009, 5:45 am
Multi-Match (to Array) Regex with a precodition match? August 5, 2007, 2:43 pm
Printing only a portion of a matched regex -- newbie quesiton August 9, 2004, 1:49 pm
RegEx Help, Please? (match after n) June 26, 2005, 10:49 pm
regex to match any url February 14, 2006, 4:02 pm
regex - match anything until September 10, 2009, 12:30 pm
regex match on nothing March 4, 2010, 5:22 am
regex: match at least one of two expression October 12, 2004, 10:07 am
match regex split January 5, 2005, 9:09 pm
RegEx How to not match a string October 3, 2005, 3:54 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Driving a better car - Fuelzilla.com

Cabling site for homeowners and pros alike - Cabling-Design.com

Friends:

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap
Privacy Policy