Click here to get back home

Make money fast

 HomeNewsGroups | Search | About
 comp.lang.perl.misc    Post an article   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
Make money fast robara0326 03-10-2005
Get Chitika Premium
Posted by robara0326 on March 10, 2005, 10:05 pm
Please log in for more thread options
>>
>> [snip]
>>
>> > if I print "$1\n",
>> > the file prints just fine. But, if I do something like print "$1 after
>> > \n", the whole output is messed up. If I print "before $1\n", nothing
>> > prints at all. If I print "before $1 after\n", only after prints.
>>
>> not really sure, but could be a rogue "\r" in $1,


> There
> is a rogue carriage return (0xd) in the string

> Is there something I can do to deal with this
> situation?


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
MAKE MONEY FAST USING EGOLD!! February 22, 2008, 7:39 am
AS SEEN ON OPRAH!! Make Honest Money Fast!! $$ EAS June 13, 2005, 5:29 pm
HOW TO MAKE MONEY FAST AND EASY,NO SCAM August 5, 2005, 12:42 pm
make real money fast-THIS ACTUALY WORKS May 15, 2005, 9:38 am
4601870216 Make MONEY fast 4601870216 January 20, 2006, 5:58 pm
Fast and Easy Money October 10, 2007, 4:28 pm
make money!!!make money!!! January 1, 2005, 5:49 pm
LET'S HELP EACH OTHER MAKE MONEY January 9, 2005, 10:23 pm
LET'S HELP EACH OTHER MAKE MONEY January 10, 2005, 7:50 pm
How to make money through net November 30, 2007, 5:22 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap