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

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

<inputfile


From: Thomas Fischer
Subject: <inputfile
Date: Mon, 14 Oct 2002 12:16:50 +0200

Hi,

BEGIN {
} {
lf=length(FILENAME);
print lf;
print $1
} END {
}

if I call this program with: gawk -f test.awk <probe.dat
the data are reproduced but FILENAME is not recognized

if I call this program with: gawk -f test.awk probe.dat
the data are reproduced and FILENAME is recognized

is this intended?

I use GNU Awk 3.0.6 under linux, suse 7.2

regards

Dr. T. M. Fischer
Institut fuer Physiologie, RWTH-Aachen, D-52057 Aachen
phone: +49 241 80 88805
fax:   +49 241 8082 434




reply via email to

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