Click here to get back home

wana watch latest hindi hot videos?

 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
wana watch latest hindi hot videos? diprat7 10-02-2007
Posted by diprat7 on October 2, 2007, 2:45 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
wana watch latest hindi hot videos? October 11, 2007, 2:16 pm
www.yedil.com best hindi entertainment site October 8, 2007, 10:55 am
www.yedil.com best hindi entertainment site October 10, 2007, 2:28 pm
not able to parse this xml , i wana use xml::simple preferably January 2, 2006, 3:40 am
Re: Latest spamware here!!!!! September 17, 2007, 9:13 am
Re: Latest spamware here!!!!! September 18, 2007, 6:14 am
sort and keep the latest version March 28, 2006, 8:00 pm
Free and latest softwares January 18, 2008, 9:43 am
Latest XML Parsing/Memory Benchmark March 4, 2008, 8:03 pm
LISA '07 - Latest News and Top 5 Reasons to Attend September 24, 2007, 4:25 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap