GNU bug report logs - #75197
[Feature Request] Support 'grep -A' without number to show all lines after match

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: grep; Severity: wishlist; Reported by: KMRH <kmrh47@HIDDEN>; dated Mon, 30 Dec 2024 12:09:02 UTC; Maintainer for grep is bug-grep@HIDDEN.

Message received at 75197 <at> debbugs.gnu.org:


Received: (at 75197) by debbugs.gnu.org; 31 Dec 2024 07:39:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 31 02:39:43 2024
Received: from localhost ([127.0.0.1]:33125 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tSWqs-0003fN-9H
	for submit <at> debbugs.gnu.org; Tue, 31 Dec 2024 02:39:43 -0500
Received: from fout-a3-smtp.messagingengine.com ([103.168.172.146]:32977)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jackson@HIDDEN>) id 1tSMDD-0005KL-37
 for 75197 <at> debbugs.gnu.org; Mon, 30 Dec 2024 15:18:04 -0500
Received: from phl-compute-08.internal (phl-compute-08.phl.internal
 [10.202.2.48])
 by mailfout.phl.internal (Postfix) with ESMTP id 4A23C1380213;
 Mon, 30 Dec 2024 15:17:56 -0500 (EST)
Received: from phl-imap-13 ([10.202.2.103])
 by phl-compute-08.internal (MEProxy); Mon, 30 Dec 2024 15:17:56 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h=
 cc:cc:content-transfer-encoding:content-type:content-type:date
 :date:from:from:in-reply-to:in-reply-to:message-id:mime-version
 :references:reply-to:subject:subject:to:to; s=fm2; t=1735589876;
 x=1735676276; bh=i1VbLiC/fSvsNu0zOF2rCW63gKJ8iLVhn9eAyr9JQeg=; b=
 tckNstvuxkqf8xJkneLf0OWZRujf0Uor+wUYVVXT9mYPw3Lpc4nZygqyvrzyDZTF
 SXdnWZNMpAWOwvAz7eZzE/HGNUjFhggK6HGOoxBFrNkwGHW39VYMTvqA4XLol9Q1
 RQz0BjFrLd5YkW8cRIm7Kc9ZoMc5DaQlfGp2oP5Pboj9EQc9LVkUf06Vus0jMsj5
 gzDGWXjv5Y361F7p8wOMKWIRDfLF3lqUFDnMhKMw7Vaeh2K7qJu7ndTgEWGvhdZi
 pVFVhceJsgrbPya6isfRcBTs07x51vYxTqcJg8B0taiPhjWIsUdF8y6sR+BIwaT8
 Q3msPwDoDUXhkEJ+Tw/o4w==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-transfer-encoding
 :content-type:content-type:date:date:feedback-id:feedback-id
 :from:from:in-reply-to:in-reply-to:message-id:mime-version
 :references:reply-to:subject:subject:to:to:x-me-proxy
 :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1735589876; x=
 1735676276; bh=i1VbLiC/fSvsNu0zOF2rCW63gKJ8iLVhn9eAyr9JQeg=; b=e
 qnudsPxUIIE0yIY7fkBV/wjBO4aVpqgHCm7Z42myqo8Z45/750+pdnpoTPvSqSp2
 RsQ1l//7Ki3yV4KLjzKBV/9q3JZrMjywMwb9I4nrXHytyJibMyO4H3xVNxUzvslP
 og/EteaBSYab2Gb42e8fYVWWvlwsJ/kRUaY/6ncWUb81ZI8JFtURHDNndyubcDmI
 h1pX3pbhtE0HJBryyKu+tx7mRmjZwPWKBGD89cKVC6Jj8SjWbutJ3sPri5N13MKO
 QGCaJ0jDxVexTjR1MPMIYq4Z45nOFPwXweodz9QwffNEGi7jBtkqjHU8Z+ceLLjN
 HPegvuqxd5GecwPZAJhsg==
X-ME-Sender: <xms:8_9yZ2LxREefbnhjgy1r0wgZqrBIL2pEcBa_1BAoVegpWYFRXha2jw>
 <xme:8_9yZ-LuhhPl9z4p35PIZSX4KNb8uJBxug2SiCdwTfotLVLs-FiI7637JRV65GAZ1
 246ch3STU70>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddruddviedgudefjecutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp
 uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg
 hnthhsucdlqddutddtmdenucfjughrpefoggffhffvvefkjghfufgtgfesthejredtredt
 tdenucfhrhhomhepjhgrtghkshhonhesfhgrshhtmhgrihhlrdhfmhenucggtffrrghtth
 gvrhhnpefgfeehleeiteelgffhvdfgheffffdthefhudfhfeeifffgtedtiefhgedtvdff
 gfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehjrg
 gtkhhsohhnsehfrghsthhmrghilhdrfhhmpdhnsggprhgtphhtthhopeefpdhmohguvgep
 shhmthhpohhuthdprhgtphhtthhopegvghhgvghrthestghsrdhutghlrgdrvgguuhdprh
 gtphhtthhopeejheduleejseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohep
 khhmrhhhgeejsehprhhothhonhdrmhgv
X-ME-Proxy: <xmx:8_9yZ2say7Y5Rp4ON5HVVLGc-lU3u-OP7QQBN5L5JBZtpkdtGLvhcg>
 <xmx:8_9yZ7bNvbdVdQkUaFl5Loaf2X9lpnq34ybZlUCR3Bk2XBoBaWzoig>
 <xmx:8_9yZ9berXbLe8mWst2QDypJnrIozmM42ryj4AcRTr_TRJfrGOllrA>
 <xmx:8_9yZ3DBakAwHRcmVHkbDtyUU7F29dU1wUxTVOjwJf48GClxbCt2YQ>
 <xmx:9P9yZ8mwiSWixnCHb5yK1ox-kxn4VYPHAf2pkaZLx-pV6o13zNS6BS0L>
Feedback-ID: i21be4887:Fastmail
Received: by mailuser.phl.internal (Postfix, from userid 501)
 id BCF911F00073; Mon, 30 Dec 2024 15:17:55 -0500 (EST)
X-Mailer: MessagingEngine.com Webmail Interface
MIME-Version: 1.0
Date: Mon, 30 Dec 2024 14:14:35 -0600
From: jackson@HIDDEN
To: "Paul Eggert" <eggert@HIDDEN>, KMRH <kmrh47@HIDDEN>
Message-Id: <1a990ae6-5305-4d4b-bf6b-47e300c33919@HIDDEN>
In-Reply-To: <aca64a35-a5d8-418c-87e0-006902a7caa7@HIDDEN>
References: <yK_lm7FAS8hbhuZ0UqkvuCxsqBjhSajQx924XWsSpURlzCKhKDABvzK1i7vOjrQTbTvVAZUPhBj6r-OsI9JaoRP8J2xys0UTaR4sOXBo3yE=@proton.me>
 <aca64a35-a5d8-418c-87e0-006902a7caa7@HIDDEN>
Subject: Re: bug#75197: [Feature Request] Support 'grep -A' without number to
 show all lines after match
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 75197
X-Mailman-Approved-At: Tue, 31 Dec 2024 02:39:41 -0500
Cc: 75197 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Or, for us old farts who have been using 'sed' for a half century, if I wanted to print the lines in a file starting with the line matching a certain pattern, through the remaining lines of the file, I'd use:

  sed -n '/pattern/,$/p' < file

Then I wouldn't have to worry whether or not the 'grep' command I was using would lose it's lunch trying to parse '9999999999999999999999', though, granted, every executable 'grep' binary I happen to have on my disk, a couple dozen of them going back over 20 years, all handle the forty-nine 9's I just tested, HOWEVER the busybox 0.51 grep source code circa 2001 I have at hand will fail if strtoul of  the numeric argument to "-A" overflows, returning ULONG_MAX with errno of ERANGE, and likely some older variants of grep would also fail, _and_

I wouldn't have to worry that my 'magic' number wasn't big enough for every ordinary, already written to disk, file that I might be reading, _and_

I could run this off a pipe that never ended with a normal closure of the input stream that would have sent an EOF to input stream of 'sed', but only ended with a signal or hardware stoppage, without worrying that I had not put enough nine's (9) in my number, _and_

I wouldn't have readers of that code wondering what that strange number was ... though, granted, I would have them doing 'man sed' ... about time in my book.

But, yes, as Paul Eggert notes, command line parsing of 'grep -A 123'  would be ambiguous.  Is "123"  a filename, or a parameter to the "-A" argument?

-- 
Paul Jackson
jackson@HIDDEN




Information forwarded to bug-grep@HIDDEN:
bug#75197; Package grep. Full text available.

Message received at 75197 <at> debbugs.gnu.org:


Received: (at 75197) by debbugs.gnu.org; 30 Dec 2024 19:45:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 30 14:45:02 2024
Received: from localhost ([127.0.0.1]:60070 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tSLhF-0003az-MV
	for submit <at> debbugs.gnu.org; Mon, 30 Dec 2024 14:45:02 -0500
Received: from frenzy.freefriends.org ([198.99.81.75]:51650
 helo=freefriends.org) by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <arnold@HIDDEN>) id 1tSLhD-0003am-6G
 for 75197 <at> debbugs.gnu.org; Mon, 30 Dec 2024 14:45:00 -0500
X-Envelope-From: arnold@HIDDEN
Received: from freefriends.org (localhost [127.0.0.1])
 by freefriends.org (8.16.1/8.16.1) with ESMTPS id 4BUJiOeP1099126
 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT);
 Mon, 30 Dec 2024 12:44:25 -0700
Received: (from arnold@localhost)
 by freefriends.org (8.16.1/8.14.7/Submit) id 4BUJiOr91099125;
 Mon, 30 Dec 2024 12:44:24 -0700
From: arnold@HIDDEN
Message-Id: <202412301944.4BUJiOr91099125@HIDDEN>
X-Authentication-Warning: frenzy.freefriends.org: arnold set sender to
 arnold@HIDDEN using -f
Date: Mon, 30 Dec 2024 12:44:24 -0700
To: kmrh47@HIDDEN, eggert@HIDDEN
Subject: Re: bug#75197: [Feature Request] Support 'grep -A' without number to
 show all lines after match
References: <yK_lm7FAS8hbhuZ0UqkvuCxsqBjhSajQx924XWsSpURlzCKhKDABvzK1i7vOjrQTbTvVAZUPhBj6r-OsI9JaoRP8J2xys0UTaR4sOXBo3yE=@proton.me>
 <aca64a35-a5d8-418c-87e0-006902a7caa7@HIDDEN>
In-Reply-To: <aca64a35-a5d8-418c-87e0-006902a7caa7@HIDDEN>
User-Agent: Heirloom mailx 12.5 7/5/10
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 75197
Cc: 75197 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Paul Eggert <eggert@HIDDEN> wrote:

> Alternatively, I suppose we could add syntax like 'grep -A Inf' to do 
> what's requested, where "Inf" is short for infinity.

And just wait, as soon as you do that, someone will want

	grep -A NaN

:-) :-) :-)

Arnold




Information forwarded to bug-grep@HIDDEN:
bug#75197; Package grep. Full text available.

Message received at 75197 <at> debbugs.gnu.org:


Received: (at 75197) by debbugs.gnu.org; 30 Dec 2024 18:53:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 30 13:53:02 2024
Received: from localhost ([127.0.0.1]:59975 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tSKsw-00018b-BE
	for submit <at> debbugs.gnu.org; Mon, 30 Dec 2024 13:53:02 -0500
Received: from mail.cs.ucla.edu ([131.179.128.66]:56504)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eggert@HIDDEN>) id 1tSKsu-000182-9K
 for 75197 <at> debbugs.gnu.org; Mon, 30 Dec 2024 13:53:01 -0500
Received: from localhost (localhost [127.0.0.1])
 by mail.cs.ucla.edu (Postfix) with ESMTP id EB87B3C123865;
 Mon, 30 Dec 2024 10:52:53 -0800 (PST)
Received: from mail.cs.ucla.edu ([127.0.0.1])
 by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10032) with ESMTP
 id Zy0SEKjdGJWn; Mon, 30 Dec 2024 10:52:53 -0800 (PST)
Received: from localhost (localhost [127.0.0.1])
 by mail.cs.ucla.edu (Postfix) with ESMTP id AD26F3C123866;
 Mon, 30 Dec 2024 10:52:53 -0800 (PST)
DKIM-Filter: OpenDKIM Filter v2.10.3 mail.cs.ucla.edu AD26F3C123866
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu;
 s=9D0B346E-2AEB-11ED-9476-E14B719DCE6C; t=1735584773;
 bh=hJMp0zmcLvjamWB2QSHFllbEL6KSnZCCbpN8TnwaOYw=;
 h=Message-ID:Date:MIME-Version:To:From;
 b=d5m8Oap6wRkcsoIlh/FBEfmxuJ18OuQ4dtQpDYIi3JIC9t+p/rHDWsdUOY2Pwo2B9
 yeSjGvTFpOvXO958dmYSyiDaRgv7SWqn0U7NM4yWlj3T5evGQNGQuRkW3H4+x6Rh1Z
 PnWgdHs2U9FwME7kijRjYE0RrDxF7oc3Ua5yUDWlwcYgh3nK6EhzpdUK+oaC+fBJJt
 TKE/H/kBW5N7cSimSBoZgH+aUDuJIa7FFyx+W1xJ+kPz7vLLft5CJp02JPi5dnW2t9
 tgy3zeTtiYhZOT+Qaop4eqoYd//1KThZfq3RleOLVnW9wsyJAEmmnSCjUnbKCb4EJr
 nqQd9+UbL843g==
X-Virus-Scanned: amavis at mail.cs.ucla.edu
Received: from mail.cs.ucla.edu ([127.0.0.1])
 by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10026) with ESMTP
 id E76y-alGyTLU; Mon, 30 Dec 2024 10:52:53 -0800 (PST)
Received: from [192.168.254.12] (unknown [47.154.28.214])
 by mail.cs.ucla.edu (Postfix) with ESMTPSA id 8D7383C123865;
 Mon, 30 Dec 2024 10:52:53 -0800 (PST)
Message-ID: <aca64a35-a5d8-418c-87e0-006902a7caa7@HIDDEN>
Date: Mon, 30 Dec 2024 10:52:53 -0800
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#75197: [Feature Request] Support 'grep -A' without number to
 show all lines after match
To: KMRH <kmrh47@HIDDEN>
References: <yK_lm7FAS8hbhuZ0UqkvuCxsqBjhSajQx924XWsSpURlzCKhKDABvzK1i7vOjrQTbTvVAZUPhBj6r-OsI9JaoRP8J2xys0UTaR4sOXBo3yE=@proton.me>
Content-Language: en-US
From: Paul Eggert <eggert@HIDDEN>
Organization: UCLA Computer Science Department
In-Reply-To: <yK_lm7FAS8hbhuZ0UqkvuCxsqBjhSajQx924XWsSpURlzCKhKDABvzK1i7vOjrQTbTvVAZUPhBj6r-OsI9JaoRP8J2xys0UTaR4sOXBo3yE=@proton.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 75197
Cc: 75197 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On 2024-12-30 03:37, KMRH via Bug reports for GNU grep wrote:
> Allow the command 'grep -A' (without specifying a number) to default to showing all lines after a match

We couldn't do that as-is, as 'grep -A 1' is equivalent to 'grep -A1' 
and people rely on that.

'grep -A 99999999999999999999999999999999999999999' does what you want 
already, even if 99999999999999999999999999999999999999999 is too big to 
fit into a machine word. Is that good enough? It would save your having 
to wait for the next grep release....

Alternatively, I suppose we could add syntax like 'grep -A Inf' to do 
what's requested, where "Inf" is short for infinity.




Information forwarded to bug-grep@HIDDEN:
bug#75197; Package grep. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 30 Dec 2024 12:08:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 30 07:08:58 2024
Received: from localhost ([127.0.0.1]:57596 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tSEZt-0005mo-8h
	for submit <at> debbugs.gnu.org; Mon, 30 Dec 2024 07:08:58 -0500
Received: from lists.gnu.org ([209.51.188.17]:34640)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <kmrh47@HIDDEN>) id 1tSE5m-0004DM-1G
 for submit <at> debbugs.gnu.org; Mon, 30 Dec 2024 06:37:50 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <kmrh47@HIDDEN>) id 1tSE5l-0001p5-RR
 for bug-grep@HIDDEN; Mon, 30 Dec 2024 06:37:49 -0500
Received: from mail-0201.mail-europe.com ([51.77.79.158])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <kmrh47@HIDDEN>) id 1tSE5h-0007QC-0I
 for bug-grep@HIDDEN; Mon, 30 Dec 2024 06:37:49 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me;
 s=protonmail; t=1735558651; x=1735817851;
 bh=ekjHMYUf4dpdfi7A63r9s9j/dzEtbmzA37WTqOZAbZA=;
 h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date:
 Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector:
 List-Unsubscribe:List-Unsubscribe-Post;
 b=JvqcYIzt85Ojr0zc4H4dJ0+rYZTbWbvWxxpdzoiG21OBd64xn4SyGE9V+xEpsr/JE
 XhYCBJ+GijndBPBFOsJ38f410Pnp/IsKQ6d859SsqEGf8q/nrfuIyhA/s7MQgtjB61
 2Xwq/BH9+JG6szAxE5DRTQ1eZoptB/AmSBDkP3sbo2CErbIOxYajVu78q5f26G4Sn7
 FXcF0vlSEoyBqK7DtGOm2fDyQzDwHzOIH4a6gkqcA+xEMA+cB+UzCQ0Mvv+tXGVCjy
 y5X+ZudCULfYEo6GM775GVUXe+2BpNc8sY30xse3jXqEGVhl04SUsvOFXScvqp+WhC
 jb0Jf2cq6UVZg==
Date: Mon, 30 Dec 2024 11:37:27 +0000
To: "bug-grep@HIDDEN" <bug-grep@HIDDEN>
From: KMRH <kmrh47@HIDDEN>
Subject: [Feature Request] Support 'grep -A' without number to show all lines
 after match
Message-ID: <yK_lm7FAS8hbhuZ0UqkvuCxsqBjhSajQx924XWsSpURlzCKhKDABvzK1i7vOjrQTbTvVAZUPhBj6r-OsI9JaoRP8J2xys0UTaR4sOXBo3yE=@proton.me>
Feedback-ID: 98253197:user:proton
X-Pm-Message-ID: fb76b5864b9bfc914ae5fbf1adcdd41aafb0c4b5
MIME-Version: 1.0
Content-Type: multipart/alternative;
 boundary="b1=_Xc6PMAKGbiaWllQTSziuYxt9fbI6xQ5hPpxuIkl4HM"
Received-SPF: pass client-ip=51.77.79.158; envelope-from=kmrh47@HIDDEN;
 helo=mail-0201.mail-europe.com
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001,
 RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001,
 RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Mon, 30 Dec 2024 07:08:55 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

--b1=_Xc6PMAKGbiaWllQTSziuYxt9fbI6xQ5hPpxuIkl4HM
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: base64

UGFja2FnZTogZ3JlcApTZXZlcml0eTogd2lzaGxpc3QKCkRlYXIgTWFpbnRhaW5lcnMsCgpJIHdv
dWxkIGxpa2UgdG8gcmVxdWVzdCBhIGZlYXR1cmUgZW5oYW5jZW1lbnQgZm9yIHRoZSBncmVwIHRv
b2wuCgpGZWF0dXJlIFJlcXVlc3QKQWxsb3cgdGhlIGNvbW1hbmQgJ2dyZXAgLUEnICh3aXRob3V0
IHNwZWNpZnlpbmcgYSBudW1iZXIpIHRvIGRlZmF1bHQgdG8gc2hvd2luZyBhbGwgbGluZXMgYWZ0
ZXIgYSBtYXRjaCwgaW5zdGVhZCBvZiBlcnJvcmluZyBvdXQuIFRoaXMgd291bGQgYmUgY29uY2Vw
dHVhbGx5IGVxdWl2YWxlbnQgdG8gc29tZXRoaW5nIGxpa2UgdXNpbmcgYSB2ZXJ5IGxhcmdlIG51
bWJlciAoJ2dyZXAgLUEgOTk5OTk5IDxwYXR0ZXJuPicpLCBidXQgd2l0aG91dCBoYXZpbmcgdG8g
bWFud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aWNhbnQgYnJlYWthZ2UuIElmIG5lY2Vzc2Fy
eSwgd2UgY291bGQgaW50cm9kdWNlIGEgZGlzdGluY3Qgb3B0aW9uIHRvIGF2b2lkIGRpc3J1cHRp
bmcgZXhpc3RpbmcgdXNhZ2UuPC9zcGFuPjwvZGl2PjxkaXY+PGJyPjwvZGl2PjxkaXY+PHNwYW4+
VGhhbmsgeW91IGZvciBjb25zaWRlcmluZyB0aGlzIGVuaGFuY2VtZW50Ljxicj48L3NwYW4+PC9k
aXY+PGRpdj48YnI+PC9kaXY+PGRpdj48c3Bhbj5CZXN0IHJlZ2FyZHMsPC9zcGFuPjwvZGl2Pjxk
aXY+PHNwYW4+S2Fyc3RlbiBIb2xtw7hlPC9zcGFuPjwvZGl2PjxzcGFuPjwvc3Bhbj48YnI+


--b1=_Xc6PMAKGbiaWllQTSziuYxt9fbI6xQ5hPpxuIkl4HM--





Acknowledgement sent to KMRH <kmrh47@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-grep@HIDDEN. Full text available.
Report forwarded to bug-grep@HIDDEN:
bug#75197; Package grep. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 12 Jan 2025 05:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.