commit 7a5369ae04736f0f83a253b5a598822b10fb39fb
Author: sin <[email protected]>
Date: Tue Jan 7 11:37:24 2014 +0000
Update xargs(1) manpage to mention the possible exit codes
diff --git a/xargs.1 b/xargs.1
index 6ce262f..9313c67 100644
--- a/xargs.1
+++ b/xargs.1
@@ -26,3 +26,15 @@ newlines, may be escaped by a backslash.
.BI \-r
Do not run the command if there are no arguments. Normally the command is
executed at least once even if there are no arguments.
+.SH EXIT STATUS
+xargs exits with one of the following values:
+
+ 0 All invocations of command returned a zero exit
+ status.
+ 123 One or more invocations of command returned a
+ nonzero exit status.
+ 124 The command exited with a 255 exit status.
+ 125 The command was killed or stopped by a signal.
+ 126 The command was found but could not be executed.
+ 127 The command could not be found.
+ 1 Some other error occurred.