[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] MacPerl and Alpha, "Illegal character \012" SOLVED!



At 11.51 -0400 1998.10.24, Garry Paine wrote:
# Why does the '\n' have to go?
#
# (in octal)
#                            MacPerl         Alpha's tcl
# \n      Newline              015               012
# \r      Carriage-return      012               015
#
# This is one for the FAQ-O-Matic.

It is more than just Alpha.  Mac OS development environments in general
cannot agree on this.  CodeWarrior, I believe, maps \n and \r as Alpha and
Unix systems do.  MacPerl (and, I think, MrC and some other Mac OS C
environments) reverse them.  Such is life.

I am sure that if we could go back in time and slap Steve and Steve around,
we could have had them use \012 as newline in the beginning, but I don't
think that is going to happen.

Maybe a Unix guy already went back in time and made them switch from \012
to \012 just to throw us off, and by going in time to fix it, we would run
into other people from the "future" and tear a hole in the space-time
continuum.  So we'd better not.

--
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch