bug-gnu-utils
[Top][All Lists]
Advanced

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

Possible Bug


From: Phillip . Long
Subject: Possible Bug
Date: Fri, 12 Aug 2005 20:31:34 -0500

Dear Folks:
 
I use GAWK on a QNX4 platform and on a WinXP platform (the CYGWIN port); the
QNX4 port is GAWK 3.0.3, and the CYGWIN port is 3.1.4.  Off and on, I have
used this command-line script to filter out control characters so my console
window isn't hosed:
    gawk '{gsub(/[\x00-\x1f\x7e-\xff]/,"*");print}' x.x
    -|gawk: fatal: Invalid range end: /[/
The file involved does not matter.

The same script on my QNX4 box successfully parses the entire file,
regardless of the file.  If I replace the \x00 with \x01, the CYGWIN port is
successful as well.  This script used to work when GAWK was at 3.0.3 on
CYGWIN; has anything changed in <NUL> handling since then?
 
 
Thx, Phil Long
 
 
 


****************************************************************************
**************

****************************************************************************
**************

      Goss ... Innovation for Business

NOTICE:  This e-mail and any attachment(s) may contain confidential and
proprietary information of Goss International Corporation and/or its
subsidiaries and may be legally privileged. This e-mail is intended solely
for the addressee. If you are not the addressee, dissemination, copying or
other use of this e-mail or any of its content is strictly prohibited and
may be unlawful.  If you are not the intended recipient please inform the
sender immediately and destroy the e-mail and any copies.  All liability for
viruses is excluded to the fullest extent permitted by law.  Any views
expressed in this message are those of the individual sender.  No contract
may be construed by this e-mail.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]