Package: gawk
Version: 1:3.1.4-2.0.1
Severity: important

Hi,

cat /tmp/p

cat /tmp/p | gawk '{printf "rr " $1-A "\n";A=$1 }'
rr 0
rr 0
rr 0

but

$cat /tmp/p1
111
112
222

$cat /tmp/p1 | gawk '{printf "rr " $1-A "\n";A=$1 }'
rr 111
rr 1
rr 110

and

$cat /tmp/p | mawk '{printf "rr " $1-A "\n";A=$1 }'
rr 273
rr 1
rr 272

So gawk seems to have problem to handle hexa number.

Matthieu


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.14
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages gawk depends on:
ii  libc6                         2.3.5-7    GNU C Library: Shared libraries an

gawk recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to