bash - How would I use grep on a single word in UNIX? -


i want run script in unix specific pattern inside passed argument. argument single word, in cases. cannot use grep, grep works on searching through files. there better unix command out there can me?

grep can search though files, or can work on stdin:

 $ echo "this test" | grep test 

Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -