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

silverlight - Applying a style to ItemContainerStyle in C# -

c# - NullReferenceException in MySqlClient.NativeDriver -

php - Updating recent updates - Problem in procedure - Any other approach? -