Us use of CAT award! was: searcRe: Search for two words in a File
fredex
fredex at fcshome.stoneham.ma.us
Wed Apr 26 15:45:03 UTC 2006
On Wed, Apr 26, 2006 at 06:45:51AM -0500, Justin Willmert wrote:
<snip>
> cat thefile | grep html | grep test
<snip>
Use:
grep html thefile | grep test
and save your system resources. No need to cat into grep when it is
perfectly capable of reading the file itself. Less typing, too!
--
---- Fred Smith -- fredex at fcshome.stoneham.ma.us -----------------------------
I can do all things through Christ
who strengthens me.
------------------------------ Philippians 4:13 -------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060426/2f9721df/attachment-0001.sig>
More information about the fedora-list
mailing list