On Mon, 22 Dec 2003, Rui Miguel Seabra wrote: > From: Rui Miguel Seabra <rms@xxxxxxxx> > To: fedora-list@xxxxxxxxxx > Subject: Re: awk and fiaif > Date: Mon, 22 Dec 2003 11:01:15 +0000 > Reply-To: fedora-list@xxxxxxxxxx > > On Mon, 2003-12-22 at 09:53, Justin Albstmeijer wrote: > > Fiaf (www.fiaif.net), does not work on fedora. > > When discussing this on the fiaif mailinglist > > (http://www.fiaif.net/pipermail/fiaif/2003q4/000864.html), and getting it > > to work with the redhat 9 version of awk installed on fedora, the > > developer concluded something is wrong with the the awk package from > > fedora. > > > > developer: "Seems strange that anyone would ship a version if awk that > > cannot read from stdin" > > > > Is this a known bug? > > [rms@roque rms]$ ps axfuw | awk '/dia/ { print $2 }' > 4114 > 3689 > > No problems reading from stdin with awk... Might check the very last line (character) of /etc/fiaif/fiaifi.conf and the other files. What if the last line did not end in a new line for some reason? Are subprocesses involved? Just in case: strace -f -o/tmp/trace-gawk awk -f etc.... -- T o m M i t c h e l l mitch48 -a*t- yahoo-dot-com