This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Grep and matching end of line (anchoring)
- From: "Dave Korn" <dk at artimi dot com>
- To: <cygwin at cygwin dot com>
- Date: Fri, 19 Nov 2004 19:31:18 -0000
- Subject: RE: Grep and matching end of line (anchoring)
> -----Original Message-----
> From: cygwin-owner On Behalf Of Shankar Unni
> Sent: 19 November 2004 19:22
> Dave Korn wrote:
>
> > What makes you think grep understands ^ notation to
> indicate control
> > chars? It doesn't say so in the info page. (It doesn't
> recognize [\r]
> > either.)
>
> Umm, you're probably jumping to the wrong conclusion about
> the OP's intent.
Yep, we've been through that already! Ah, the perils of dashing off a
quick reply while there are still unread mails downthread! Either that, or
you've got a really bad email service with a half-hour delay in it!
> And you have to *pipe* the input into grep, not pass in the file as a
> command line (in textmode mounts, this will cause grep to
> read the file as a text file).
Yes, but I wasn't using a textmode mount, for exactly that reason. I
generally despise textmode mounts these days.
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/