home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / shell / 5508 < prev    next >
Encoding:
Text File  |  1993-01-28  |  1.2 KB  |  30 lines

  1. Newsgroups: comp.unix.shell
  2. Path: sparky!uunet!destroyer!ncar!mimbres.cs.unm.edu!cs.sandia.gov!jhgreen
  3. From: jhgreen@cs.sandia.gov (Jethro H. Greene)
  4. Subject: Re: AWK file output question
  5. Message-ID: <1993Jan16.153236.8123@cs.sandia.gov>
  6. Keywords: awk
  7. Sender: usenet@cs.sandia.gov (Another name for news)
  8. Organization: Sandia National Laboratories, Albuquerque, NM
  9. References: <1993Jan14.152332.16130@ericsson.se> <C0xuIF.xJ@dcs.ed.ac.uk>
  10. Date: Sat, 16 Jan 93 15:32:36 GMT
  11. Lines: 17
  12.  
  13. >In article <1993Jan14.152332.16130@ericsson.se> etljskk@etlxd11c.etlxd writes:
  14. >>This is my first posting, so please don't complain if this is a faq.
  15. >>I am having a problem with awk. I want to split a large file into smaller
  16. >>ones (file name being created from data in the large file). I get
  17. >>this to work, but after ten files I get the error that no more files
  18. >>can be opened. How can I close these files when I no longer want them.
  19. >>
  20. >Ive *just* started writing shell scripts, does anyone have a list of man 
  21. >references that are useful??? Or a list of useful commands maybe???
  22.  
  23. I'm not sure about your 'awk' problem, but you could use 'split'.
  24.  
  25. -- 
  26. Jethro H. Greene
  27. Massively Parallel Computing Research Laboratory,
  28. Sandia National Laboratories, Albuquerque, New Mexico
  29.  
  30.