From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel Subject: Re: grep.el regexp Date: Sun, 10 Jul 2005 13:35:09 -0400 Message-ID: References: <87psuipj8b.fsf@jurta.org> <87k6kme6sp.fsf@jurta.org> <87aclb2w0m.fsf@jurta.org> <873br3xaum.fsf-monnier+emacs@gnu.org> <87u0jh6cwq.fsf-monnier+emacs@gnu.org> <87y88fwpu7.fsf@jurta.org> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1121018133 17917 80.91.229.2 (10 Jul 2005 17:55:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 10 Jul 2005 17:55:33 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 10 19:55:27 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Drg1G-0004xJ-9s for ged-emacs-devel@m.gmane.org; Sun, 10 Jul 2005 19:55:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Drg2m-0006h5-Uu for ged-emacs-devel@m.gmane.org; Sun, 10 Jul 2005 13:56:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Drg04-0005wo-5w for emacs-devel@gnu.org; Sun, 10 Jul 2005 13:53:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Drfzv-0005qT-8h for emacs-devel@gnu.org; Sun, 10 Jul 2005 13:53:50 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Drfzp-0005kl-Q9 for emacs-devel@gnu.org; Sun, 10 Jul 2005 13:53:41 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Drfro-00008V-Ux for emacs-devel@gnu.org; Sun, 10 Jul 2005 13:45:25 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1Drfht-0006qS-B9; Sun, 10 Jul 2005 13:35:09 -0400 Original-To: Juri Linkov In-reply-to: <87y88fwpu7.fsf@jurta.org> (message from Juri Linkov on Sat, 09 Jul 2005 23:56:16 +0300) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:40730 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:40730 Perhaps what is needed to start with is to ask people to send output examples of different kinds of grep. We could put these example in a new file etc/grep.txt similarly to etc/compilation.txt. That is a good idea. Please start that file. I've collected a few examples in the file attached below. The section `grep ???' contains examples deduced from regexps in `grep-regexp-alist'. Could someone recognize what grep produces them? The first three seem to follow the GNU spec for column numbers and ranges. I don't know whether GNU grep can output these, but in principle it could do so.