home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!casbah.acns.nwu.edu!navarra
- From: navarra@casbah.acns.nwu.edu (John Navarra)
- Subject: Re: awk help
- Message-ID: <1992Sep1.033213.5983@news.acns.nwu.edu>
- Sender: usenet@news.acns.nwu.edu (Usenet on news.acns)
- Organization: Northwestern University, Evanston Illinois.
- References: <1992Aug31.212717.16872@sunova.ssc.gov>
- Date: Tue, 1 Sep 1992 03:32:13 GMT
- Lines: 33
-
-
- [ I had trouble sending you mail, so I will post a short reply]
-
-
- In article <1992Aug31.212717.16872@sunova.ssc.gov> you write:
- >
- >I am opening several ouput files while in a awk command. I
- >keep getting an error message telling me I have opened
- >too many files. Is there anyway I can get around
- >this?
- >
- >the error message is
- > awk: too many output files 10
- > record number 344
- >
- The answer to your question is yes and no.
-
- No, if you are using the original awk, the maximum number of open files
- you are allowed to have is 10. This is why you are getting the error
- message.
-
- Yes, if you have nawk or gawk. (gawk can be anonymously ftped from
- a number of places). The max number of open files is 15 but more
- importantly, you can use the 'close' statement to close open files.
- See documentation for more info.
-
- -tms
-
- --
- You can get further with a kind word | You can get further with a kind word
- and a gun than a kind word alone. | and a phaser than a kind word and a gun.
- --al capone | -- John Navarra
- =======From the Lab of the MaD ScIenTIst....navarra@casbah.acns.nwu.edu========
-