bug-findutils
[Top][All Lists]
Advanced

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

[bug #61341] Example given for xargs -o should use grep -lZ instead of g


From: Robin A. Meade
Subject: [bug #61341] Example given for xargs -o should use grep -lZ instead of grep -lz
Date: Fri, 15 Oct 2021 16:29:19 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0

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

                 Summary: Example given for xargs -o should use grep -lZ
instead of grep -lz
                 Project: findutils
            Submitted by: robin217
            Submitted on: Fri 15 Oct 2021 08:29:18 PM UTC
                Category: documentation
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: None
         Discussion Lock: Any
           Fixed Release: None

    _______________________________________________________

Details:

https://www.gnu.org/software/findutils/manual/html_node/find_html/xargs-options.html

The example given for xargs -o is this:

   grep -lz PATTERN * | xargs -0o vi

It should be uppercase Z:

   grep -lZ PATTERN * | xargs -0o vi

grep's -z option indicates to treat input and output data as sequences of
lines terminated by NUL.

grep's -Z option indicates to output a NUL after each filename in the output.





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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