home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.misc
- Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!destroyer!ubc-cs!unixg.ubc.ca!ochealth
- From: ochealth@unixg.ubc.ca (ochealth)
- Subject: Re: Does Os/2 Have The Equai
- Message-ID: <1992Aug20.040838.8004@unixg.ubc.ca>
- Sender: news@unixg.ubc.ca (Usenet News Maintenance)
- Nntp-Posting-Host: unixg.ubc.ca
- Organization: University of British Columbia, Vancouver, B.C., Canada
- References: <714223952.6@wyrm.rbbs-net.ORG>
- Date: Thu, 20 Aug 1992 04:08:38 GMT
- Lines: 41
-
- In article <714223952.6@wyrm.rbbs-net.ORG> Daniel.Karellen@f501.n914.z8.rbbs-net.ORG (Daniel Karellen) writes:
- >BM>Everyone / Anyone:
- >
- >BM>Does OS/2 have the equaivalent of the UNIX usage of ``? For example, the
- >BM>command: grep "---" `find . -name ~*~ -print` is very useful. It finds
- >BM>all files/directories and passes the to grep as its parameters (filesnames).
- >
- >BM>Thanks in advance.
- >
- >BM>Bert.
- >
- >Download GREP for OS/2 from the fernwood bbs (203) 483-0348. That's the 9600
- >baud line, there's also a 14,400 baud line.
-
- No no no. That's not what he meant. I think he already has grep etc.
-
- grep "---" `find foobar` is what he was asking.
-
- In a UNIX C shell, the backquotes run that program, and leave the results
- in the command line (in this case).
-
- SO the `find ..` would expand to ./file1 ./file2 ./file2 etc.
- Then those files would become the arguments to grep.
-
- Confusing, but then this is UNIX.
-
- BTW I *would* like to know if this is possible under OS/2. Maybe some bizarre
- 4OS/2 command? Anyway, it's a function of the shell, not the OS. Maybe when
- bash gets ported...;-)
-
- >___
- > * MR/2 1.2x NR * Let's Go Mets!
- >
- > * Origin: SeaHunt BBS, San Francisco (415-431-0227) (8:914/501)
-
-
- --
- ______________________________________________________________________________
- jpm: ochealth@unixg.ubc.ca
- Happily using OS/2 2.0 because MS Windows isNT ___
- Insert VapourFeature ^^^
-