steveng@GARP.MIT.EDU (Stephen Ng) (04/25/89)
I'm using gawk 2.01beta 13 Dec 1988. The following command incorrectly produces no output: ls | gawk ' { while (getline > 0) print $0 } ' However, this line does work (it produces a listing of the directory): ls | gawk ' { while ((getline) > 0) print $0 } '
arnold@mathcs.emory.edu (Arnold D. Robbins {EUCC}) (04/25/89)
In article <8904242224.AA09517@lotus.lotus.com> lotus!steveng@GARP.MIT.EDU (Stephen Ng) writes: >I'm using gawk 2.01beta 13 Dec 1988. This is your bug. You should switch to gawk 2.10beta; the problem described in the referenced note is fixed in 2.10. (2.10 has its bugs too, but they're being worked on.) -- Arnold Robbins -- Emory University Computing Center | Unix is a Registered DOMAIN: arnold@unix.cc.emory.edu | Bell of AT&T Trademark UUCP: gatech!emoryu1!arnold PHONE: +1 404 727-7636 | Laboratories. BITNET: arnold@emoryu1 FAX: +1 404 727-2599 | -- Donn Seeley