I usually use grep to search either files or command output for string
ocurrences.
Ex.
grep "bryanm" user.txt > result
would return the contents of any line that contained bryanm in a file called
user.txt and dump the results to a file called result
leave > result off to dump to screen
You can do many things with it.
The man page, IMOHO, is all lecture with little practical application.
The best source I have found on most *nix commands is Unix Unleashed.
Hope this bit of rambling points you in the right direction.
Bryan
"Shannon M. Johnston" <[EMAIL PROTECTED]> on 10/22/99 12:04:30 PM
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc: (bcc: Bryan Moorehead/Link/Allied Holdings)
Subject: [newbie] GREP
Does anybody know what the grep command do?