BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004424 [BusyBox] Documentation minor always 08-01-08 00:15 08-03-08 12:21
Reporter Araneidae View Status public  
Assigned To BusyBox
Priority normal Resolution fixed  
Status closed   Product Version
Summary 0004424: Documentation for xargs incomplete (version 1.11.1)
Description The following options for xargs are not documented in usage.h:

-e Sets end of input string (see issue 0004414)
-n Maximum number of arguments per command
-s Maximum size of each argument

The patch below assumes that the patch in 0004414 has been applied.
Additional Information diff --git a/include/usage.h b/include/usage.h
index ceac6d0..dda5f60 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -4563,6 +4563,9 @@
        USE_FEATURE_XARGS_SUPPORT_ZERO_TERM( \
      "\n -0 Input filenames are terminated by a null character") \
      "\n -t Print the command line on stderr before executing it" \
+ "\n -e Specify end of input marker" \
+ "\n -n Maximum number of arguments to pass to COMMAND" \
+ "\n -s Maximum size of argument passed to COMMAND" \

 #define xargs_example_usage \
        "$ ls | xargs gzip\n" \
Attached Files

- Relationships

- Notes
(0010184)
vda
08-03-08 12:21

Thanks. Fixed in svn now. Example:

Options:
        -p Ask user whether to run each command
        -r Do not run command if input is empty
        -0 Input is separated by NUL characters
        -t Print the command on stderr before execution
        -e[STR] STR stops input processing (default _)
        -n N Pass no more than N args to COMMAND
        -s N Pass command line of no more than N bytes
        -x Exit if size is exceeded
 

- Issue History
Date Modified Username Field Change
08-01-08 00:15 Araneidae New Issue
08-01-08 00:15 Araneidae Status new => assigned
08-01-08 00:15 Araneidae Assigned To  => BusyBox
08-03-08 12:21 vda Status assigned => closed
08-03-08 12:21 vda Note Added: 0010184
08-03-08 12:21 vda Resolution open => fixed


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker