URL:
  <http://savannah.gnu.org/bugs/?34917>

                 Summary: grep refuses to run when input file is also the
output, even when the -q option is used
                 Project: grep
            Submitted by: boklm
            Submitted on: Mon 28 Nov 2011 01:29:36 AM CET
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Forwarding an issue that was reported on Mageia bugzilla :
https://bugs.mageia.org/show_bug.cgi?id=3501

To avoid infinite disk-filling loop, grep since version 2.10 rejects commands
in which the output file is also one of the inputs.

However it also rejects commands which have the -q option. If the -q option is
used, there is no output so it cannot create a loop, therefore the command
should not be rejected.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?34917>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


Reply via email to