home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / question / 9612 < prev    next >
Encoding:
Text File  |  1992-07-30  |  1.6 KB  |  59 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!wupost!cs.utexas.edu!convex!tchrist
  3. From: Tom Christiansen <tchrist@convex.COM>
  4. Subject: Re: need "ls"-like output w/full path
  5. Message-ID: <1992Jul30.230242.10884@convex.com>
  6. Originator: tchrist@convex.convex.com
  7. Sender: usenet@convex.com (news access account)
  8. Nntp-Posting-Host: convex.convex.com
  9. Reply-To: tchrist@convex.COM (Tom Christiansen)
  10. Organization: CONVEX Realtime Development, Colorado Springs, CO
  11. References: <1992Jul17.161646.13107@cid.aes.doe.CA> <1992Jul17.190452.1265@news.eng
  12. Date: Thu, 30 Jul 1992 23:02:42 GMT
  13. X-Disclaimer: This message was written by a user at CONVEX Computer
  14.               Corp. The opinions expressed are those of the user and
  15.               not necessarily those of CONVEX.
  16. Lines: 41
  17.  
  18. From the keyboard of tmike@cmptrc.lonestar.org (T. Mike Howeth):
  19. :In articles all over the place, lots of people write:
  20. :
  21. :| How about doing it this way...
  22. :
  23. :What does everyone have against:
  24. :       find <dir> -print -path <dir> -only | sed 1d
  25.  
  26. Merely this:
  27.  
  28.  
  29.     $ find dir -print -path dir -only
  30.     find: bad option < -path >
  31.     
  32.     $ find dir -print -only
  33.     find: bad option < -only >
  34.  
  35.  
  36.     $ gnufind dir -print -path dir -only
  37.     find: invalid predicate `-path'
  38.     
  39.     $ gnufind dir -print -only
  40.     find: invalid predicate `-only'
  41.  
  42.  
  43.     $ find2perl dir -print -path dir -only
  44.     Unrecognized switch: -path
  45.  
  46.     $ find2perl dir -print -only
  47.     Unrecognized switch: -only
  48.  
  49.  
  50. Ok, I give -- what do they do?
  51.  
  52.  
  53. --tom
  54. -- 
  55.     Tom Christiansen      tchrist@convex.com      convex!tchrist
  56.  
  57.     "* Unix is a footnote of AT&T Bell Laboratories."
  58.                  --Barry Shein
  59.