Search Results

Search: Posts Made By: mdlearnest
5,844
Posted By mdlearnest
thanks
thanks for all the info
5,844
Posted By mdlearnest
we have success!
hey, hey, hey! that first example worked just fine when i used the right version of grep! lol thanks SOOO much for your help!!
5,844
Posted By mdlearnest
illegal option
here's my hack code:
-bash-3.00$ cat testfile | if $(grep -q Something ${1}); then echo "it's there"; fi
grep: illegal option -- q
Usage: grep -hblcnsviw pattern file . . .

looks like it doesnt...
5,844
Posted By mdlearnest
newb help needed
hi all, im working on a script that needs to read in a file, search for a string of text within that file, and if the string is found, do something. so i know i need to use an if-then statement, but...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 03:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy