delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/06/25/01:49:41

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <4861DC42.5060608@t-online.de>
Date: Wed, 25 Jun 2008 07:48:50 +0200
From: "helmut-kern AT t-online DOT de" <helmut-kern AT t-online DOT de>
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: change in gawk from 3.1.5 to 3.1.6
X-ID: X7zs2sZfZh5dPUtFJuZ9y5HpGi+P-brgTC8lSKUuKv4NKoLPAK+tIrn53mJb-JDQOw
X-TOI-MSGID: 15e9b339-45e5-4afe-a1d3-d37d3a005dcd
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hello Corinna,

the change in gawk from 3.1.5  to 3.1.6 broke my script.

in 3.1.5 i received a correct value when fomatting hex strings

 > awk '{printf ("%6d","0x22" ) }' test.txt
  34

in 3.1.6 i receiveonly 0 when fomatting hex strings

3.1.6
 > awk '{printf ("%6d","0x22" ) }' test.txt
  0



it loks as if it didn't understand hex notation any longer. Or am I 
missing something ?



Greetings,


Helmut Kern

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019