Us use of CAT award! was: searcRe: Search for two words in a File

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxx -----------------------------
                       I can do all things through Christ 
                              who strengthens me.
------------------------------ Philippians 4:13 -------------------------------

Attachment: pgpUPhZ3O9o6n.pgp
Description: PGP signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux