bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Bjarni Ingi Gislason
Subject: [bug #58016] Add an option "--label=<name>" to show an origin of diagnostics
Date: Sat, 21 Mar 2020 15:12:16 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]