Click here to get back home

POPL 2006 Call for Papers (Charleston SC, Jan 06)

 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
POPL 2006 Call for Papers (Charleston SC, Jan 06) dpw 05-31-2005
Get Chitika Premium
Posted by dpw on May 31, 2005, 10:44 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
POPL 07 Call for Papers May 22, 2006, 2:06 am
POPL 08 Call for Papers June 9, 2007, 1:10 am
Nordic Perl Workshop 2006 - Call for Papers (Reminder) February 15, 2006, 6:24 pm
Nordic Perl Workshop 2006 - Call for Papers (Reminder) April 27, 2006, 2:30 am
Call For Papers: ISMM 2006 (International Symposium on Memory Management) January 1, 2006, 1:23 am
POPL 2005 Call for Participation November 26, 2004, 11:28 am
LISA '07 Call For Papers April 27, 2007, 11:48 am
OSDC 2005 Call For Papers August 15, 2005, 1:43 pm
USENIX LISA '08 Call For Papers February 12, 2008, 4:52 pm
ISMM 2009 Call for Papers November 21, 2008, 6:59 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap