On Wed, Jun 23, 1999, Scott R. Every wrote:

> Here is some platform info:
> awk --version
> GNU Awk 3.0.3
> Copyright (C) 1989, 1991-1997 Free Software Foundation.
> [...]
> >> awk: cmd. line:1: BEGIN { printf("%c%c%c%c%c%c", 27, 91, 49, 109, 0, 0);
> >> }  </dev/null
> >> awk: cmd. line:1:
> >> ^ parse error
> >> awk: cmd. line:1: BEGIN { printf("%c%c%c%c%c%c", 27, 91, 49, 109, 0, 0);
> >> }  </dev/null
> >> awk: cmd. line:1:
> >> ^ parse error
> >> 
> >> I assume these are the same the previous poster was seeing...
> >> They did not seem to affect the compile at all.
> >> this was in mm-1.0.7 and everything seems to be working well.
> > 
> > Ops, _these_ were not the ones I've fixed. I tried it today under Solaris
> > 2.6 and the Awk which failed was a different one. These Awks worked fine.
> > And I also cannot see where a "parse error" should occur in the above
> > (valid) line. Hmmm... on what exact platform is this? 

Then something is broken for you, because I use _exactly_ the same Awk and it
works fine. I've even tried it with both /usr/bin/awk under FreeBSD (which is
also this awk version) and an own installed gawk 3.0.3. Both work fine.  Look:

| :> gawk 'BEGIN { printf("%c%c%c%c", 27, 91, 49, 109); }' </dev/null
| rse@en1:/sw/pkg/shtool/src
| :> gawk --version
| GNU Awk 3.0.3
| Copyright (C) 1989, 1991-1997 Free Software Foundation.
| 
| This program is free software; you can redistribute it and/or modify
| it under the terms of the GNU General Public License as published by
| the Free Software Foundation; either version 2 of the License, or
| (at your option) any later version.
| 
| This program is distributed in the hope that it will be useful,
| but WITHOUT ANY WARRANTY; without even the implied warranty of
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
| GNU General Public License for more details.
| 
| You should have received a copy of the GNU General Public License
| along with this program; if not, write to the Free Software
| Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
| rse@en1:/sw/pkg/shtool/src
| :>

Can you try the above command on your platform, too?  As you can see, I've
here even directly called it and it worked fine.

                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to