Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Beta 18 Compilation Problem Under Nextstep 3.3



Mark Borges <mdb@xxxxxxxxxxxx> writes:

> Anyway, I backed out the change (why is it necessary to escape the
> `#else'?) and it worked fine.

Hmm, it was my patch for UNICOS, that somehow has a bug in awk.

$ uname -a
kallsup kallsup 9.0.2.0 roo.2 CRAY J90
$ echo | awk '{ print "#else" }'
bad switch yylook 79

Older awks printed a literal backslash when it wasn't followed by a
"legal" character, newer awks removes the backslash.

$ uname -a
SunOS sunsite.nada.kth.se 5.4 Generic_101945-32 sun4d sparc
$ echo | awk '{ print "\z" }' 
\z
$ echo | nawk '{ print "\z" }' 
z
$ echo | gawk '{ print "\z" }'
z

/Johan




Messages sorted by: Reverse Date, Date, Thread, Author