Re: How to use shell commands to work for my requests?

2006-04-07 Thread Mc Shch
__ From: [EMAIL PROTECTED] To: "Mc Shch" <[EMAIL PROTECTED]> CC: freebsd-questions@freebsd.org Subject: Re: How to use shell commands to work for my requests? Date: Fri, 7 Apr 2006 15:17:

Re: How to use shell commands to work for my requests?

2006-04-07 Thread usleepless
Hi Exploit_it >For example: >i want to search some files which contain "getopt" string... what's in a name... brute force: grep -R getopt * smarter: find . -name "*.cpp" -exec grep getopt {}\; -print regards, usleep PS this is a resend to fix etiquette __

Re: How to use shell commands to work for my requests?

2006-04-07 Thread usleepless
Hi Exploit_it what's in a name... brute force: grep -R getopt * smarter: find . -name "*.cpp" -exec grep getopt {}\; -print regards, usleep On 4/7/06, Mc Shch <[EMAIL PROTECTED]> wrote: > >Hi all, > >I wanna know how to use shell commands to search some files which >contain a spec