Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • 1
    Use Perl instead of bash: quotemeta. Commented Apr 14, 2015 at 9:47
  • awk -F, '$2 == "[email protected]"'? Commented Apr 14, 2015 at 9:47
  • 1
    use a backslash \. in front of the dot to escape it. you probably need two backslashes \\. to get the shell to pass one to the program. Commented Apr 14, 2015 at 10:11
  • You can use grep -F to do not treat pattern as regular expression, just like a string and -w option (whole word) which mean that pattern should fill full "word" ( so " he@" is not compare " she@") Commented Apr 14, 2015 at 11:25