[BusyBox-cvs] busybox/include usage.h,1.202,1.203
Erik Andersen
andersen at busybox.net
Mon Apr 12 15:12:08 UTC 2004
Update of /var/cvs/busybox/include
In directory nail:/tmp/cvs-serv14476/include
Modified Files:
usage.h
Log Message:
Patch from Rob Landley to fix sed documentation.
The -i option was not documented, and in genereal
the formatting was a bit ugly.
Index: usage.h
===================================================================
RCS file: /var/cvs/busybox/include/usage.h,v
retrieving revision 1.202
retrieving revision 1.203
diff -u -d -r1.202 -r1.203
--- a/usage.h 7 Apr 2004 15:07:55 -0000 1.202
+++ b/usage.h 12 Apr 2004 15:12:06 -0000 1.203
@@ -2106,11 +2106,15 @@
"Options:\n" \
"\t-n\t\tsuppress automatic printing of pattern space\n" \
"\t-e script\tadd the script to the commands to be executed\n" \
- "\t-f scriptfile\tadd the contents of script-file to the commands to be executed\n" \
+ "\t-f scriptfile\tadd script-file contents to the\n" \
+ "\t\t\tcommands to be executed\n" \
+ "\t-i\t\tEdit files in-place\n" \
"\n" \
- "If no -e or -f is given, the first non-option argument is taken as the\n" \
- "sed script to interpret. All remaining arguments are names of input\n" \
- "files; if no input files are specified, then the standard input is read."
+ "If no -e or -f is given, the first non-option argument is taken as the sed\n"\
+ "script to interpret. All remaining arguments are names of input files; if no\n"\
+ "input files are specified, then the standard input is read. Source files\n" \
+ "will not be modified unless -i option is given."
+
#define sed_example_usage \
"$ echo "foo" | sed -e 's/f[a-zA-Z]o/bar/g'\n" \
"bar\n"
More information about the busybox-cvs
mailing list