Date: Wed, 9 Apr 1997 13:10:42 +0300 (IDT) From: Eli Zaretskii To: David McKee cc: djgpp AT delorie DOT com Subject: Re: Gawk doesn't like close... In-Reply-To: <334A38EA.5760@rtp.gtegsc.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 8 Apr 1997, David McKee wrote: > close bpFile #--/ Close Boiler Plate !!! HERE IS WHERE GAWK DIES. Please in future always describe what exactly does Gawk (or any other program) print; ``GAWK DIES'' is very emotionally-charged, but its information content is exceedingly low. The problem is that the correct way to close a file is this: close(bpFile) Without parentheses, Gawk complains about ``parse error'', at least on my machine. I don't know how does Nawk digest the form without the parens, but I do know that Gawk is very POSIX-compliant, so I think Nawk will probably also accept the parenthesized form.