Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.groff.bug > #1771

[bug #58016] Add an option "--label=<name>" to show an origin of diagnostics

Path csiph.com!xmission!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail
From Bjarni Ingi Gislason <INVALID.NOREPLY@gnu.org>
Newsgroups gnu.groff.bug
Subject [bug #58016] Add an option "--label=<name>" to show an origin of diagnostics
Date Sat, 21 Mar 2020 15:12:16 -0400 (EDT)
Lines 59
Approved bug-groff@gnu.org
Message-ID <mailman.246.1584817941.3020.bug-groff@gnu.org> (permalink)
References <20200321-191214.sv93188.70949@savannah.gnu.org>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain;charset=UTF-8
X-Trace usenet.stanford.edu 1584817941 9257 209.51.188.17 (21 Mar 2020 19:12:21 GMT)
X-Complaints-To action@cs.stanford.edu
To Bjarni Ingi Gislason <bjarniig@rhi.hi.is>, bug-groff@gnu.org
Envelope-to bug-groff@gnu.org
X-PHP-Originating-Script 1001:sendmail.php
X-Savane-Server savannah.gnu.org:443 [209.51.188.72]
X-Savane-Project groff
X-Savane-Tracker bugs
X-Savane-Item-ID 58016
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0
X-Apparently-From 31.209.211.187 (Savane authenticated user bjarniig)
In-Reply-To
X-detected-operating-system by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From 209.51.188.72
X-BeenThere bug-groff@gnu.org
X-Mailman-Version 2.1.23
Precedence list
List-Id "Bug reports for the GNU version of nroff, troff et al" <bug-groff.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-groff>, <mailto:bug-groff-request@gnu.org?subject=unsubscribe>
List-Archive <https://lists.gnu.org/archive/html/bug-groff>
List-Post <mailto:bug-groff@gnu.org>
List-Help <mailto:bug-groff-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-groff>, <mailto:bug-groff-request@gnu.org?subject=subscribe>
X-Mailman-Original-Message-ID <20200321-191214.sv93188.70949@savannah.gnu.org>
Xref csiph.com gnu.groff.bug:1771

Show key headers only | View raw


URL:
  <https://savannah.gnu.org/bugs/?58016>

                 Summary: Add an option "--label=<name>" to show an origin of
diagnostics
                 Project: GNU troff
            Submitted by: bjarniig
            Submitted on: Sat 21 Mar 2020 07:12:14 PM UTC
                Category: Core
                Severity: 3 - Normal
              Item Group: New feature
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

Subject: Add an option "--label=<name>" to show an origin of diagnostics

  "groff" has sometimes to read the standard input.
 In that case diagnostics are output with a "stdin" or
 a "<standard input>" label.

  If more than one file is processed in one run,
 one can't see from which file the output is.

  This is for example the case in Makefiles.

  "grep" has such a label.
 Its explanation is

 --label=LABEL
        Display input actually coming from standard input as input
        coming from file LABEL.  This is especially useful when
        implementing tools like zgrep, e.g., gzip -cd foo.gz | grep
        --label=foo -H something.  See also the -H option.

  "diff" (same as '-L') and "diff3" have this option.





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58016>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/

Back to gnu.groff.bug | Previous | Next | Find similar


Thread

[bug #58016] Add an option "--label=<name>" to show an origin of diagnostics Bjarni Ingi Gislason <INVALID.NOREPLY@gnu.org> - 2020-03-21 15:12 -0400

csiph-web