Chambers <bdc### [at] yahoo com> wrote:
> That's what I would have thought, but I found that \. didn't return any matches,
> whereas [.] did. Probably a quirk of the version I was using.
How are you running grep? And from where?
If you give a regexp to grep as a command-line parameter, remember to
always escape the entire regexp so that the shell won't mess it up. In
other words:
grep 'ing\.'
not:
grep ing\.
which will end up completely different when grep sees it.
--
- Warp
Post a reply to this message
|