home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / ultrix / 5839 < prev    next >
Encoding:
Internet Message Format  |  1992-07-22  |  794 b 

  1. Path: sparky!uunet!destroyer!ncar!hsdndev!news.cs.umb.edu!rouilj
  2. From: rouilj@dl5000.bc.edu (John P. Rouillard)
  3. Newsgroups: comp.unix.ultrix
  4. Subject: Re: How do you cat together files without getting subdirs?
  5. Message-ID: <ROUILJ.92Jul22161806@dl5000.bc.edu>
  6. Date: 22 Jul 92 21:18:06 GMT
  7. References: <110593@muvms3.bitnet> <1992Jul22.010325.27235@decuac.dec.com>
  8. Sender: news@cs.umb.edu (USENET News System)
  9. Organization: Institute for Space Research, Boston College
  10. Lines: 15
  11. In-Reply-To: mjr@hussar.dco.dec.com's message of 22 Jul 92 01: 03:25 GMT
  12. Nntp-Posting-Host: dl5000.bc.edu
  13.  
  14.  
  15. If you run zsh the following works:
  16.  
  17.    cat *(.)
  18.  
  19. I.E. cat all files that are plain files.  No symbolic links,
  20. directories etc need apply.
  21.  
  22. Also 
  23.  
  24.    cat *(^/)
  25.  
  26. cats all files that aren't a directory.
  27.  
  28. -- John
  29.