URL:
<http://savannah.gnu.org/bugs/?22708>
Summary: Return status 126, 127 are incorrectly interpreted
by xargs
Project: findutils
Submitted by: jay
Submitted on: Monday 03/24/2008 at 00:02
Category: None
Severity: 2 - Minor
Item Group: Wrong result
Status: None
Privacy: Public
Assigned to: jay
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.1.20
Fixed Release: None
_______________________________________________________
Details:
According to the xargs documentation, the xargs utility is supposed to return
status 126 or 127 if the command canot be run. However, xarsg returns 126 if
the utility returns 126, and 127 if the utility returns 127.
That means that when xargs returns 126, you can't be sure whether it's
because the utility could not be run, or that it could be run but it returned
126.
This problem is addressed by the code changes included in Leslie Polzer's
Summer of Code work, but this has not yet been merged.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?22708>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/