Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!know!zaphod.mps.ohio-state.edu!wuarchive!rice!rice!sun-spots-request From: science@nems.dt.navy.mil (Mark Zimmermann) Newsgroups: comp.sys.sun Subject: awk close() bug? Keywords: Software Message-ID: <1990Oct8.004412.16608@rice.edu> Date: 7 Oct 90 21:30:00 GMT Sender: sun-spots-request@rice.edu Organization: Sun-Spots Lines: 14 Approved: Sun-Spots@rice.edu Originator: spots@walhalla.rice.edu X-Sun-Spots-Digest: Volume 9, Issue 348, message 3 I have a problem with 'awk' on my Sparcstation-1: when I try to run an awk program which writes more than about 10 files, awk fails. (I am careful to close files when I finish writing to them, so there are never more than one or two open at a time, in theory.) The identical awk program works fine on a NeXT machine. The 'unbundle' example in Aho/Kernighan/Weinberger also fails. It appears to be the case that the awk 'close(fname)' function isn't really closing the files. Is this a known bug, is there a fix or workaround, is it just me, should I be using 'gawk' (the GNU 'awk'), or what? Tnx for advice! - ^z - science@nems.dt.navy.mil P.S. if anybody has a pointer to a program to turn text which is in all capital letters into an approximation of mixed-case text, please tell me