Click here to get back home

ACM SIGAPL / APL2007 Conference / Montreal / one week away

 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
ACM SIGAPL / APL2007 Conference / Montreal / one week away Mike Kent 10-15-2007
Posted by Mike Kent on October 15, 2007, 5:22 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 rbe on October 20, 2007, 6:46 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

Posted by Gosi on October 21, 2007, 4:22 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 Wade Ward on October 21, 2007, 5:50 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 Gosi on October 22, 2007, 4:17 am
Please log in for more thread options
>
>
>
>
>
> >> > Conference page
> >> > // with links to program details //
> >> > (updated Friday 10/12)
>
> >> > http://www.sigapl.org/apl2007.html...
>
> >> At APL2007, I'll be announcing the release of the APEX APL compiler,
> >> version 0.0.0, under GPL Version 2.
> >> If you can't wait until then, you can download it for Dyalog Linux
> >> atwww.snakeisland.com.
>
> >> Bob
>
> > Congratulations on your compiler.
>
> > I looked through your pages and came across this
>
> > "[This article originally appeared in the ACM SIGAPL Quote Quad, vol.
> > 21, no.1, September 1990.]
>
> > The APL character set has contributed, more than any other facet of
> > the language, to its lack of acceptance in the computing community at
> > large. The character set is a metaproblem -- not a problem in and of
> > itself, but a creator of other recurring problems of hardware,
> > software, ergonomics, and psychology. The adoption of new, ASCII-base
> > dialects of APL, such as J, is suggested as one solution to the
> > character set problem. "
>
> > This is also the reason for why I will not be downloading your new
> > compiler until there will be a J version of it, something I hope will
> > be coming soon.
>
> > I can not use the APL character set at all.
> > It is too mixed up with my national characters.
>
> witch ones?
> --
> wade ward
> w...@zaxfuuq.net
> "Der Katze tritt die Treppe hoch; Der Kater tritt sie krumm.%
> % De Teufel geit um; er bringt de menschen allet dumm."
> schau, schau

4 10$a.i.'=E1=F0=E9=ED=F3=FA=FD=FE=E6=F6=C1=D0=C9=CD=D3=DA=DD=DE=C6=D6'
195 161 195 176 195 169 195 173 195 179
195 186 195 189 195 190 195 166 195 182
195 129 195 144 195 137 195 141 195 147
195 154 195 157 195 158 195 134 195 150


Similar ThreadsPosted
Announcing: ACM SIGAPL APL2007 -- Arrays and Objects May 27, 2007, 2:05 pm
What's on at APL 2007, Montreal, October 21, (Tutorials) 22,23 (Program) August 31, 2007, 2:07 am
APL2007 update October 3, 2007, 8:21 am
Senior Perl developer position in Montreal, Canada June 1, 2007, 10:32 am
Australian Open Source Developers' Conference July 11, 2005, 4:51 pm
Inviting You to World's 1st Online Marketing Careers Conference January 5, 2008, 1:04 am
USENIX Announces Open Access to Conference Proceedings March 13, 2008, 4:37 pm
International Conference on Computational Intelligence and Multimedia Applications 2005 January 31, 2005, 12:40 pm
International Conference on Computational Intelligence and Multimedia Applications 2005 January 31, 2005, 12:41 pm
Facial Biometrics 2006: The Documents, Imaging & Security Conference April 25, 2006, 10:37 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap