|
![](/i/fill.gif) |
Chambers 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.
Probably because you're using the shell, so it's eating the first \
Try \\. where you need a ., since the shell will take away one \ and grep
will take away the other.
> Thanks, I turned in my lab report with what I thought should work, and noting
> that it didn't. That was the only problem with it, so I doubt I'll lose too
> many points.
Good luck. Let us know what the answer is? :-)
You know, I bet if you're invoking it from the command line, the shell might
be swallowing the $ also. That's one of the things I hate about this sort
of thing - quoting hell.
--
Darren New, San Diego CA, USA (PST)
Ada - the programming language trying to avoid
you literally shooting yourself in the foot.
Post a reply to this message
|
![](/i/fill.gif) |