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
Post a Comment