Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: Subject: RE: Grep and matching end of line (anchoring) Date: Fri, 19 Nov 2004 19:31:18 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: Message-ID: 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/