![](https://seccdn.libravatar.org/avatar/0ab7e02630bf8ea7396ee92940c8b594.jpg?s=120&d=mm&r=g)
5 Apr
2021
5 Apr
'21
23:00
On 4/5/21 11:50 PM, Carlos E. R. wrote:
grep -i "f4sjvj$1p6$1@sea.gmane.org" ~/Mail/_Lists/_filed/os-en.200705..08 __________^__________________________"
1. As you have put the pattern in double quotes, the shell will try to expand the variables $1p6 and $1, and - as they're probably not defined - therefore pass the pattern 'f4sjvj@sea.gmane.org' to grep(1). --> use single quotes '' 2. As you pass something with a '$' in the pattern, but that is a special character matching the end of a line, you need to tell grep(1) to take the whole pattern as literal string: --> use the -F option. $ grep -Fi 'f4sjvj$1p6$1@sea.gmane.org' ~/Mail/_Lists/_filed/os-en.200705..08 Have a nice day, Berny