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