I need to seach all strings that matches "if [ 1 -eq 2 ]; then" in all files
If i put
grep "if [ 1 -eq 2 ]; then" *.* it is not giving any result
I need to seach all strings that matches "if [ 1 -eq 2 ]; then" in all files
If i put
grep "if [ 1 -eq 2 ]; then" *.* it is not giving any result
can you see if your version of grep have the -F switch? if yes, then you could use it for your case