GNU logs - #27902, boring messages


Message sent to bug-grep@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#27902: Using -o with -v
Resent-From: Arseny Sher <sher-ars@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-grep@HIDDEN
Resent-Date: Tue, 01 Aug 2017 09:20:02 +0000
Resent-Message-ID: <handler.27902.B.150157917723951 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 27902
X-GNU-PR-Package: grep
X-GNU-PR-Keywords: 
To: 27902 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-grep@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.150157917723951
          (code B ref -1); Tue, 01 Aug 2017 09:20:02 +0000
Received: (at submit) by debbugs.gnu.org; 1 Aug 2017 09:19:37 +0000
Received: from localhost ([127.0.0.1]:36104 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dcTKy-0006EA-Qr
	for submit <at> debbugs.gnu.org; Tue, 01 Aug 2017 05:19:37 -0400
Received: from eggs.gnu.org ([208.118.235.92]:42162)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sher-ars@HIDDEN>) id 1dcTKx-0006Dr-Pd
 for submit <at> debbugs.gnu.org; Tue, 01 Aug 2017 05:19:36 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <sher-ars@HIDDEN>) id 1dcTKr-00012z-TP
 for submit <at> debbugs.gnu.org; Tue, 01 Aug 2017 05:19:30 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:58087)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <sher-ars@HIDDEN>) id 1dcTKr-00012l-QH
 for submit <at> debbugs.gnu.org; Tue, 01 Aug 2017 05:19:29 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:33098)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <sher-ars@HIDDEN>) id 1dcTKn-0000ha-OH
 for bug-grep@HIDDEN; Tue, 01 Aug 2017 05:19:29 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <sher-ars@HIDDEN>) id 1dcTKj-0000xj-MK
 for bug-grep@HIDDEN; Tue, 01 Aug 2017 05:19:25 -0400
Received: from forward101j.mail.yandex.net ([5.45.198.241]:42882)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <sher-ars@HIDDEN>) id 1dcTKj-0000vO-D6
 for bug-grep@HIDDEN; Tue, 01 Aug 2017 05:19:21 -0400
Received: from smtp2j.mail.yandex.net (smtp2j.mail.yandex.net
 [IPv6:2a02:6b8:0:801::ac])
 by forward101j.mail.yandex.net (Yandex) with ESMTP id B652C1243AA5
 for <bug-grep@HIDDEN>; Tue,  1 Aug 2017 12:19:14 +0300 (MSK)
Received: from smtp2j.mail.yandex.net (localhost.localdomain [127.0.0.1])
 by smtp2j.mail.yandex.net (Yandex) with ESMTP id A0AE03EC1062
 for <bug-grep@HIDDEN>; Tue,  1 Aug 2017 12:19:14 +0300 (MSK)
Received: by smtp2j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id
 r5ifK8jHVz-JDbGV7DT; Tue, 01 Aug 2017 12:19:13 +0300
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (Client certificate not present)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail;
 t=1501579153; bh=hXBhWy2IVc8Ea5hTXBKSkrE7MJ1V+1PbdgwXS4aDRFo=;
 h=From:To:Subject:Date:Message-ID;
 b=riLghgCGVFHK6ocbagU+IgOc3qQQMQxBr9bH8oadXXXhYUx+5SAo5kXsZAVZCsCNJ
 Lf2ueVawXa+RbHg2X9kA449tck8mUNMqoSuzQQY5W/NARvgAAC+nD671vz9KKkqfg9
 Hkdsw/naDeTDuN4hHJpba9BCWJq8WWdkZbEPAmsI=
Authentication-Results: smtp2j.mail.yandex.net; dkim=pass header.i=@yandex.ru
X-Yandex-Suid-Status: 1 0
From: Arseny Sher <sher-ars@HIDDEN>
Date: Tue, 01 Aug 2017 12:19:12 +0300
Message-ID: <87a83j3asv.fsf@ars-thinkpad>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
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: -4.0 (----)

Hi,

Is it possible to output symbols which constitute non-matched
parts of text? For example, I expect

printf "banana\napple" | grep --invert-match --only-matching 'ban'

to produce

ana
apple

or

apple

, but it doesn't produce anything.

I need -o because I grep multiline pattern with -z.

--
Arseny Sher




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Arseny Sher <sher-ars@HIDDEN>
Subject: bug#27902: Acknowledgement (Using -o with -v)
Message-ID: <handler.27902.B.150157917723951.ack <at> debbugs.gnu.org>
References: <87a83j3asv.fsf@ars-thinkpad>
X-Gnu-PR-Message: ack 27902
X-Gnu-PR-Package: grep
Reply-To: 27902 <at> debbugs.gnu.org
Date: Tue, 01 Aug 2017 09:20:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-grep@HIDDEN

If you wish to submit further information on this problem, please
send it to 27902 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
27902: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D27902
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-grep@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#27902: Using -o with -v
Resent-From: isabella parakiss <izaberina@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-grep@HIDDEN
Resent-Date: Wed, 02 Aug 2017 12:50:02 +0000
Resent-Message-ID: <handler.27902.B27902.150167815510907 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 27902
X-GNU-PR-Package: grep
X-GNU-PR-Keywords: 
To: Arseny Sher <sher-ars@HIDDEN>
Cc: 27902 <at> debbugs.gnu.org
Received: via spool by 27902-submit <at> debbugs.gnu.org id=B27902.150167815510907
          (code B ref 27902); Wed, 02 Aug 2017 12:50:02 +0000
Received: (at 27902) by debbugs.gnu.org; 2 Aug 2017 12:49:15 +0000
Received: from localhost ([127.0.0.1]:37818 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dct5P-0002pr-KU
	for submit <at> debbugs.gnu.org; Wed, 02 Aug 2017 08:49:15 -0400
Received: from mail-ua0-f170.google.com ([209.85.217.170]:37105)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <izaberina@HIDDEN>) id 1dct5N-0002pd-VB
 for 27902 <at> debbugs.gnu.org; Wed, 02 Aug 2017 08:49:14 -0400
Received: by mail-ua0-f170.google.com with SMTP id f9so20028297uaf.4
 for <27902 <at> debbugs.gnu.org>; Wed, 02 Aug 2017 05:49:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:in-reply-to:references:from:date:message-id:subject:to
 :cc; bh=npcq9Ti4BduEwRKqFhYORow5F0GvjeB1+4bgYfnqATg=;
 b=jOYi0oUB5f1zGMnYp2/F2x+wBwN2ZxVUKnEDly7tiiSaBGJRU4JC6kZQRwcNUFsfkC
 eFwAmFqTg+8LLIm3NhcMiOqFqyhQSTnDNl4qItbP2P3NYJwOkshqVNC6vgvoBeiDKx1/
 hJggYbKMDhxiuO1Lf/3dVOjG9+NNfQ/Bl+48HuwOepl+uN/RKTAcgR3bVZyF6fc9zceh
 umG0x0HQ7amP+mtSiP6P/8K0+2s33rym+QsWaBZMlnQdKfakRTTMGAiLz2TUxbd/tuqH
 u/BLZxzGo8W4577qPSx9VvZmAb7WPO/HCdmWVjXGjnR/IhHQI24ah//FWz2TtJjp+xIV
 pRAg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:in-reply-to:references:from:date
 :message-id:subject:to:cc;
 bh=npcq9Ti4BduEwRKqFhYORow5F0GvjeB1+4bgYfnqATg=;
 b=OFGpCOdzXHKhb/pPYnIb73rk1SwQ1uB4lWDje4qTXy+x9X4elrYiegBpepMv/PZ0wf
 EDrlVkgvh+PjHPvNxlVzfwhfdKk73OPI5718K1b/sk79SptLBB2W/3I/s2HM3WQJxw4Z
 yuXxgGaULcW7hgpLRwNLKzUShOm5yrg7z8HBShLfk/fFnnt7361VO+wPQQfzw7H8xtKH
 wpuH5+NI1iYB7yxKDXtjlPuQa0maG56V3mxn/5jZgbB7vizgF9epQ/TQBT/qMnHy3pGy
 uh90riuKW6blzqJ5nYcsD4MliwsFWjttAuzM3ahK8zeJwnK2wrTrPN/dmpmhSqIvLDQn
 R7eg==
X-Gm-Message-State: AIVw111ucHNNFJIrXqYKkzUraHrzYi5Ufkevh72Q3vf3ifqinHDyq/oC
 8WBzNeIbFU6u8Xt/1+WQ2F77tG6g6w==
X-Received: by 10.176.65.193 with SMTP id 59mr12534740uap.83.1501678148358;
 Wed, 02 Aug 2017 05:49:08 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.31.210.71 with HTTP; Wed, 2 Aug 2017 05:49:07 -0700 (PDT)
In-Reply-To: <87a83j3asv.fsf@ars-thinkpad>
References: <87a83j3asv.fsf@ars-thinkpad>
From: isabella parakiss <izaberina@HIDDEN>
Date: Wed, 2 Aug 2017 14:49:07 +0200
Message-ID: <CAAZkfoKWeRgA95FtVyBUiLtFmyLE_OiuWYR4sepCEuNnPxv-mA@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: -0.0 (/)
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: -0.0 (/)

On 8/1/17, Arseny Sher <sher-ars@HIDDEN> wrote:
> Hi,
>
> Is it possible to output symbols which constitute non-matched
> parts of text? For example, I expect
>
> printf "banana\napple" | grep --invert-match --only-matching 'ban'
>
> to produce
>
> ana
> apple
>
> or
>
> apple
>
> , but it doesn't produce anything.
>
> I need -o because I grep multiline pattern with -z.
>
> --
> Arseny Sher
>
>
>
>

sed 's/ban//g'




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


Received: (at control) by debbugs.gnu.org; 31 Dec 2019 19:34:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 31 14:34:53 2019
Received: from localhost ([127.0.0.1]:35156 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1imNI5-0001Lo-L1
	for submit <at> debbugs.gnu.org; Tue, 31 Dec 2019 14:34:53 -0500
Received: from zimbra.cs.ucla.edu ([131.179.128.68]:39994)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eggert@HIDDEN>) id 1imNI4-0001LV-5h
 for control <at> debbugs.gnu.org; Tue, 31 Dec 2019 14:34:52 -0500
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id 1211916027C
 for <control <at> debbugs.gnu.org>; Tue, 31 Dec 2019 11:34:46 -0800 (PST)
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
 by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032)
 with ESMTP id V6DYRyaU9YxM for <control <at> debbugs.gnu.org>;
 Tue, 31 Dec 2019 11:34:45 -0800 (PST)
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id 7341E16027E
 for <control <at> debbugs.gnu.org>; Tue, 31 Dec 2019 11:34:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
 by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026)
 with ESMTP id j3Zq9QaQg7BW for <control <at> debbugs.gnu.org>;
 Tue, 31 Dec 2019 11:34:45 -0800 (PST)
Received: from [192.168.1.9] (cpe-23-242-74-103.socal.res.rr.com
 [23.242.74.103])
 by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 5428316027C
 for <control <at> debbugs.gnu.org>; Tue, 31 Dec 2019 11:34:45 -0800 (PST)
To: control <at> debbugs.gnu.org
From: Paul Eggert <eggert@HIDDEN>
Subject: 27902 is wishlist
Organization: UCLA Computer Science Department
Message-ID: <1b6ea7f3-8a10-bc3f-307f-07077073bca8@HIDDEN>
Date: Tue, 31 Dec 2019 11:34:45 -0800
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
 Thunderbird/68.2.2
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: control
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: -3.3 (---)

severity 27902 wishlist





Last modified: Tue, 31 Dec 2019 19:45:01 UTC

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