| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| From: | "Dave Korn" <dk AT artimi DOT com> |
| To: | <cygwin AT cygwin DOT com> |
| Subject: | RE: Grep and matching end of line (anchoring) |
| Date: | Fri, 19 Nov 2004 19:31:18 -0000 |
| MIME-Version: | 1.0 |
| In-Reply-To: | <cnlh4j$1kf$1@sea.gmane.org> |
| Message-ID: | <NUTMEGsk56Kw2Hh3Fpi000000f8@NUTMEG.CAM.ARTIMI.COM> |
| X-OriginalArrivalTime: | 19 Nov 2004 19:31:18.0781 (UTC) FILETIME=[57CA32D0:01C4CE6E] |
> -----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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |