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

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 2020-03-21 15:12 -0400
Message-ID <mailman.246.1584817941.3020.bug-groff@gnu.org> (permalink)
References <20200321-191214.sv93188.70949@savannah.gnu.org>

Show all headers | 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