[Omaha.pm] ack '\-\>Promotion'
Andy Lester
andy at petdance.com
Thu Mar 4 17:41:36 PST 2010
On Mar 4, 2010, at 5:07 PM, Jay Hannah wrote:
> $ ack '\-\>Promotion'
Actually, you don't need to quote those because they're not regex chars, and the '' keeps them from being interpolated by the shell, so you can just say
ack '->Promotion'
If you DID have regex characters you wanted to escape all of, like
ack '\*\*\*WARNING\*\*\*'
you can use the -Q for quoting the entire string
ack '***WARNING***'
xoxo,
Andy
--
Andy Lester => andy at petdance.com => www.theworkinggeek.com => AIM:petdance
More information about the Omaha-pm
mailing list