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

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

PostgreSQL 9.x - pg_read_binary_file & inserting files into bytea -

jtree - comparing two TreeNode (or DefaultMutableTreeNode) objects in Java Comparator -