home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.misc:3302 comp.unix.questions:10198
- Newsgroups: comp.unix.misc,comp.unix.questions
- Path: sparky!uunet!stanford.edu!leland.Stanford.EDU!underdog
- From: underdog@leland.Stanford.EDU (Dwight Joe)
- Subject: Re: Summary of (Re: Grep-ing for Constants (Re: Assembler Syntax...))
- Message-ID: <1992Aug20.051431.12803@leland.Stanford.EDU>
- Keywords: recap of "EXPORT", grep, UTLB exception handler
- Sender: news@leland.Stanford.EDU (Mr News)
- Organization: Miners for a Heart of Gold
- Date: Thu, 20 Aug 92 05:14:31 GMT
- Lines: 31
-
- In article <1992Aug19.235443.21099@leland.Stanford.EDU>
- underdog@leland.Stanford.EDU (Dwight Joe) writes:
- >
- >I received numerous replies.
- >
- >The one with the simplest explanation was
- >
- > Try:
- > find . -exec grep your_string {} \; -print | pg
- >
- >I've tried it, and it works. Most of the other replies had
- >variations on combining "find" and "grep".
-
- It would be more useful to me if I could do the following:
-
- alias skan find . -exec grep $$ {} \; -print | pg
-
- Then, by typing "skan VALUE", I could look for the files with the
- string "VALUE". Is it possible to do an alias with a dummy argument
- like "$$"?
-
- If not, how could I do it?
-
- Please send e-mail.
-
- -------------------------------------------------------------------------------
- Seikatsu no imi wa nan desu ka. \| |` | Don't buy from Toyota;
- Shitte itara oshiete kuremasen ka. | -+- | especially, don't buy
- /| / \ | from Capitol Toyota in
- Copyright 1992. | San Jose, California.
- -------------------------------------------------------------------------------
-