using grep with a "." or dot in the search term (copy because of overactive editors)
I am trying to search for a string
But what happening is that I am also getting unwanted results which contains the string such as
.means "any character" in a regex. If you want a literal string, use
fgrep, or escape the
grep -F -r '0.49' *treats 0.49 as a "fixed" string instead of a regular expression. This makes
.lose its special meaning.