[bug #20891] exit status enhancement for xargs

View: New views
4 Messages — Rating Filter:   Alert me  

[bug #20891] exit status enhancement for xargs

by Mario Castelán Castro-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

                 Summary: exit status enhancement for xargs
                 Project: findutils
            Submitted by: None
            Submitted on: Saturday 08/25/2007 at 02:01 UTC
                Category: xargs
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Philip Rowlands
        Originator Email: phr@...
             Open/Closed: Open
         Discussion Lock: Any
                 Release: None
           Fixed Release: None

    _______________________________________________________

Details:

Please consider providing an option to govern the exit status passed by xargs
from the subprocessses which it launches.

Alternative modes to the current behaviour might include returning the
maximum exit status, the minimum, or the bitwise OR.




    _______________________________________________________

Reply to this item at:

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

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




[bug #20891] exit status enhancement for xargs

by Mario Castelán Castro-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Update of bug #20891 (project findutils):

              Depends on:                         => bugs #22708            


    _______________________________________________________

Reply to this item at:

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

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




[bug #20891] exit status enhancement for xargs

by Mario Castelán Castro-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Follow-up Comment #1, bug #20891 (project findutils):

It seems incompatible with other platforms' xargs implementation as well as
even the find, that if the command formed by xarg encounters an error, no
error status is returned. I will file a bug.

    _______________________________________________________

Reply to this item at:

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

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




[bug #20891] exit status enhancement for xargs

by Mario Castelán Castro-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Follow-up Comment #2, bug #20891 (project findutils):

If you had indicated who you were, O Anonymous, I could have helped you
better I think.  But anyway, I can't reproducte the problem I think you're
describing with findutils 4.4.0 or 4.5.6-git.

~$ echo a b c | xargs false ; echo $?
123


    _______________________________________________________

Reply to this item at:

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

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