[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug in awk that prevents recompiling for me?
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: bug in awk that prevents recompiling for me?
- From: Carsten Hammer <chammer_(_at_)_hermes_(_dot_)_hrz_(_dot_)_uni-bielefeld_(_dot_)_de>
- Date: Fri, 24 Jan 1997 12:02:59 +0100 (MET)
- Operating-system: OpenBSD 2.0 i386
- Reply-to: chammer_(_at_)_hermes_(_dot_)_hrz_(_dot_)_uni-bielefeld_(_dot_)_de
Hi,
My problem is in /usr/src/lib/libcurses/MKkeyname.awk.
This is the awk program 'awktest' and its output:
BEGIN {
print "anfang"
}
{printf "mitte"}
END {
print "ende"
}
bash$ awk -f awktest awktest > testout
bash$ more testout
mittemittemittemittemittemittemittemittemitteanfang
ende
This looks wrong to me. I think the output of the following
programm looks right:
BEGIN {
print "anfang"
}
{print "mitte"}
END {
print "ende"
}
bash$ awk -f awktest awktest > testout
bash$ more testout
anfang
mitte
mitte
mitte
mitte
mitte
mitte
mitte
mitte
mitte
ende
Or is this correct? Then the mentioned awk script in kernel sources
is incorrect.. not?
As a make build failed yesterday i am *not* totally sure this
is not a side effect of a corrupt OpenBSD installation.
ciao
Carsten
Visit your host, monkey.org