GNU bug report logs - #30372
context word control

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: Peng Yu <pengyu.ut@HIDDEN>; dated Tue, 6 Feb 2018 20:31:01 UTC; Maintainer for grep is bug-grep@HIDDEN.

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


Received: (at 30372) by debbugs.gnu.org; 31 Dec 2019 20:57:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 31 15:57:36 2019
Received: from localhost ([127.0.0.1]:35261 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1imOa8-0000xj-IT
	for submit <at> debbugs.gnu.org; Tue, 31 Dec 2019 15:57:36 -0500
Received: from zimbra.cs.ucla.edu ([131.179.128.68]:50696)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eggert@HIDDEN>) id 1imOa6-0000xU-SC
 for 30372 <at> debbugs.gnu.org; Tue, 31 Dec 2019 15:57:35 -0500
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id 7703316027C;
 Tue, 31 Dec 2019 12:57:29 -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 inqZ3MH0LFv3; Tue, 31 Dec 2019 12:57:28 -0800 (PST)
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id D7C4716027E;
 Tue, 31 Dec 2019 12:57:28 -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 3ooc9Ba3cEoV; Tue, 31 Dec 2019 12:57:28 -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 B28B616027C;
 Tue, 31 Dec 2019 12:57:28 -0800 (PST)
To: Peng Yu <pengyu.ut@HIDDEN>
From: Paul Eggert <eggert@HIDDEN>
Subject: Re: context word control
Organization: UCLA Computer Science Department
Message-ID: <09918565-6d42-3f9e-e814-1881cb7fe6d8@HIDDEN>
Date: Tue, 31 Dec 2019 12:57:28 -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: 30372
Cc: 30372 <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: -3.3 (---)

> Is there a way to print context words of a match?

No.

I've marked this as a wishlist request (though we have many items on our
wishlist ...).




Information forwarded to bug-grep@HIDDEN:
bug#30372; Package grep. Full text available.
Severity set to 'wishlist' from 'normal' Request was from Paul Eggert <eggert@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 6 Feb 2018 20:30:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 06 15:30:10 2018
Received: from localhost ([127.0.0.1]:60570 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ej9sX-0003Ku-PZ
	for submit <at> debbugs.gnu.org; Tue, 06 Feb 2018 15:30:09 -0500
Received: from eggs.gnu.org ([208.118.235.92]:53128)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pengyu.ut@HIDDEN>) id 1ej9sW-0003Kh-HP
 for submit <at> debbugs.gnu.org; Tue, 06 Feb 2018 15:30:09 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <pengyu.ut@HIDDEN>) id 1ej9sQ-0002EE-JK
 for submit <at> debbugs.gnu.org; Tue, 06 Feb 2018 15:30:03 -0500
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]:56526)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <pengyu.ut@HIDDEN>) id 1ej9sQ-0002E1-FL
 for submit <at> debbugs.gnu.org; Tue, 06 Feb 2018 15:30:02 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:44089)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <pengyu.ut@HIDDEN>) id 1ej9sP-0007Kx-IN
 for bug-grep@HIDDEN; Tue, 06 Feb 2018 15:30:02 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <pengyu.ut@HIDDEN>) id 1ej9sO-0002Cj-SW
 for bug-grep@HIDDEN; Tue, 06 Feb 2018 15:30:01 -0500
Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]:37322)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <pengyu.ut@HIDDEN>) id 1ej9sO-0002Bu-MJ
 for bug-grep@HIDDEN; Tue, 06 Feb 2018 15:30:00 -0500
Received: by mail-wm0-x234.google.com with SMTP id v71so6394193wmv.2
 for <bug-grep@HIDDEN>; Tue, 06 Feb 2018 12:30:00 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:from:date:message-id:subject:to;
 bh=qXBKZX/gi5DW+zMHx0UvIvcyLCyzJzmUxSt6L5PW3dA=;
 b=Yz56bv4/4W56CqiaV/Xz4THPkYQMBrk3oyHWA20oGZCuMukHU2VdI69Y1MtzFg5yem
 c/jYzxi/mOpBgr6V8afi2MdSOswhLlsFR+CVq0fGgwNmLESkB2p1uO4jJOvpyK2u5ZH8
 NtoIKHC/6d73HKr7h9y6kb4esLzJfRoauQRBRomgpmEGHn8DU5y6VNLh8SwmDY1kIf0O
 UrVvLDxknPbaRdk0/8Fi/6XDjbZUnfl/7VmZRYqkEf0RDAhbmaTiSbB2spiAAjA4AOno
 vE28SsRL9xDWXz50sSp8BkXTxjHg6DtpbqkqzXg/I9QvJ7Nd81vXfWfBQNfrpL1lknzc
 xkwA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=qXBKZX/gi5DW+zMHx0UvIvcyLCyzJzmUxSt6L5PW3dA=;
 b=H7LLFBCyRyd8/05QRDkhaWk2iZzCx+n1fmt4JMdI5bs49FnBMj5ueIDdaDMBtwgO76
 XQkFMRuPid9Q1ME9iKnLTYOT9POuXq3QdPv7qxY+gAHWEh1y0o+69fhJrWnahjWi1aOd
 wJTP8qy+LEdL9itCiLHd5TqlKxC69YZFEMa8u0CEnm5LuYnOeMER8FrXq4ABmxssj7/q
 XU7K3FpPioq6S7IiYxlLwJ/98Kh42fXH/cnv/vTbrlbbemew/eq0kOlt8E/8LHo9985C
 LiMoKiRFE3Hm/x+oOrsF6JemcCdLlNU4P33QUqUHTsTyUi9mRIlew5sb6TxoPMS/9mW2
 WoFA==
X-Gm-Message-State: APf1xPCFHuLz1DCkGLXfg69JzUlS1lybn2CW+pGBL0O8IlUk7kvHlGcd
 DcQMAhIpdQeFoeKF/gVg11jBPvIsPHg6FMppeofh/g==
X-Google-Smtp-Source: AH8x227efALhy0C5n1pFQy4u1GWY17hKyqXsc0mk9teAEu5VHUvWB5+Jpzhd3naGRCegbrdDeQBavLj+cHpR32kMuto=
X-Received: by 10.80.227.203 with SMTP id c11mr5219394edm.195.1517948999151;
 Tue, 06 Feb 2018 12:29:59 -0800 (PST)
MIME-Version: 1.0
Received: by 10.80.191.12 with HTTP; Tue, 6 Feb 2018 12:29:58 -0800 (PST)
From: Peng Yu <pengyu.ut@HIDDEN>
Date: Tue, 6 Feb 2018 14:29:58 -0600
Message-ID: <CABrM6w=RVjSOvFU6sphQfa82bEbizj1QV7WjYDo8z1VOKT+p4w@HIDDEN>
Subject: context word control
To: bug-grep@HIDDEN
Content-Type: text/plain; charset="UTF-8"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
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-Debbugs-Envelope-To: submit
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,

By default, grep print a few context lines of a match. Is there a way
to print context words of a match? Thanks.

-- 
Regards,
Peng




Acknowledgement sent to Peng Yu <pengyu.ut@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-grep@HIDDEN. Full text available.
Report forwarded to bug-grep@HIDDEN:
bug#30372; 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: Tue, 31 Dec 2019 21:00:02 UTC

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