Click here to get back home

Webcool24.com : Biggest worldwide Asian free Video multi language web , Travel, Sports, Racing cars , Massages techniques, Games , Fashions, Jokes , Top models , Free online IT learning , 5000 links, 250 free online TV , 50000 music video, nice la

 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
Webcool24.com : Biggest worldwide Asian free Video multi language web , Travel, Sports, Racing cars , Massages techniques, Games , Fashions, Jokes , Top models , Free online IT learning , 5000 links, 250 free online TV , 50000 music video, nice la goodweb 08-15-2007
Get Chitika Premium
Posted by goodweb on August 15, 2007, 8:58 am
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

Posted by Bill H on August 15, 2007, 8:31 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
###########INDIAN AUNTEY FUCKING SEX VIDEO free DOWN LOAD FREE@@@@@@@@########## November 22, 2007, 4:27 am
************************** SEX STILL FUCKING VIDEO FREE GIRLS SEX TO NIGHT FREE SEX ************************************* November 13, 2007, 5:13 am
GREAT VIDEO! >> http://www.tbn.org/films/videos/To_Hell_And_Back.ram << Just click link to view the free video.......... May 22, 2005 7:37:59 pm May 22, 2005, 5:37 pm
free online datig - Free Access November 26, 2008, 11:41 pm
free online dting - Free Access November 26, 2008, 11:41 pm
The Convenience of Online Learning. The Benefits of a Respected Degree.Try Ellis College for Free. July 21, 2007, 6:04 pm
redtube video - Free September 22, 2008, 7:01 am
russian woman - FREE VIDEO September 12, 2008, 5:33 pm
Free access to several paysites! Free movies - games - software - mp3 - and more! January 17, 2006, 8:59 pm
Free access to several paysites! Free movies - games - software - mp3 - and more! January 17, 2006, 9:21 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap