On Tue, 4 May 2010, donovan jeffrey j wrote:
/^From: .*viagra/  DISCARD viagra foo

what does the dot asterisk do ?
will that cover the ( "  " ) quotes?

Strongly advise you read  man grep

Skip over the section on options and you will find a complete description of the syntax of regular expressions.

. is a special character that means 'match anything but a newline'.
* is a modifier that means "zero or more occurences".
So .* is used to mean 'zero or more of any character'.

- C

Reply via email to