> cat f $Log: Blah > grep "\$Log: .*\$" f $Log: Blah I am actually looking for a line which has Dollar Log Colon ...any characters...dollar...any characters...but this still returns the line, even thought it is missing the last dollar. I am sure this is a pretty obvious one, please help.