bug-findutils
[Top][All Lists]
Advanced

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

[bug #13878] xargs exits with exitcode 1 instead of 123 if invoked comma


From: Andreas Metzler
Subject: [bug #13878] xargs exits with exitcode 1 instead of 123 if invoked command fails
Date: Thu, 21 Jul 2005 17:33:27 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Debian/1.7.8-1

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=13878>

                 Summary: xargs exits with exitcode 1 instead of 123 if
invoked command fails
                 Project: findutils
            Submitted by: ametzler
            Submitted on: Don 21.07.2005 um 17:33
                Category: xargs
                Severity: 3 - Normal
              Item Group: Wrong result
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Glenn Ammons
        Originator Email: address@hidden
             Open/Closed: Open
                 Release: 4.2.22
           Fixed Release: None

    _______________________________________________________

Details:

Hello,
this is http://bugs.debian.org/319085 reported by Glenn Ammons:

---------------------
xargs exits with the wrong status when the command exits with status 1:

    % false; echo $?
    1
    % echo foo | xargs -t false; echo $?
    false foo
    0

The exit status ought to be 123, according to the man page:

    xargs exits with the following status:
    0 if it succeeds
    123 if any invocation of the command exited with status 1-125
---------------------
I've verifioed that this applies to 4.2.22 and current CVS, 4.120 worked as
documented.
             thanks, cu andreas



    _______________________________________________________

Carbon-Copy List:

CC Address                          | Comment
------------------------------------+-----------------------------
address@hidden    | Originator Email




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=13878>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/





reply via email to

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