home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!wupost!cs.utexas.edu!convex!tchrist
- From: Tom Christiansen <tchrist@convex.COM>
- Subject: Re: need "ls"-like output w/full path
- Message-ID: <1992Jul30.230242.10884@convex.com>
- Originator: tchrist@convex.convex.com
- Sender: usenet@convex.com (news access account)
- Nntp-Posting-Host: convex.convex.com
- Reply-To: tchrist@convex.COM (Tom Christiansen)
- Organization: CONVEX Realtime Development, Colorado Springs, CO
- References: <1992Jul17.161646.13107@cid.aes.doe.CA> <1992Jul17.190452.1265@news.eng
- Date: Thu, 30 Jul 1992 23:02:42 GMT
- X-Disclaimer: This message was written by a user at CONVEX Computer
- Corp. The opinions expressed are those of the user and
- not necessarily those of CONVEX.
- Lines: 41
-
- From the keyboard of tmike@cmptrc.lonestar.org (T. Mike Howeth):
- :In articles all over the place, lots of people write:
- :
- :| How about doing it this way...
- :
- :What does everyone have against:
- : find <dir> -print -path <dir> -only | sed 1d
-
- Merely this:
-
-
- $ find dir -print -path dir -only
- find: bad option < -path >
-
- $ find dir -print -only
- find: bad option < -only >
-
-
- $ gnufind dir -print -path dir -only
- find: invalid predicate `-path'
-
- $ gnufind dir -print -only
- find: invalid predicate `-only'
-
-
- $ find2perl dir -print -path dir -only
- Unrecognized switch: -path
-
- $ find2perl dir -print -only
- Unrecognized switch: -only
-
-
- Ok, I give -- what do they do?
-
-
- --tom
- --
- Tom Christiansen tchrist@convex.com convex!tchrist
-
- "* Unix is a footnote of AT&T Bell Laboratories."
- --Barry Shein
-