Update sed help. (Add -r option to long help, add -i option to brief help,

and alphabetizie the option list.)
This commit is contained in:
Rob Landley 2004-05-26 21:59:31 +00:00
parent 86af052d25
commit 1ce5968443

View File

@ -2066,14 +2066,15 @@
"$ rx /tmp/foo\n" "$ rx /tmp/foo\n"
#define sed_trivial_usage \ #define sed_trivial_usage \
"[-nef] pattern [files...]" "[-efinr] pattern [files...]"
#define sed_full_usage \ #define sed_full_usage \
"Options:\n" \ "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-e script\tadd the script to the commands to be executed\n" \
"\t-f scriptfile\tadd script-file contents to the\n" \ "\t-f scriptfile\tadd script-file contents to the\n" \
"\t\t\tcommands to be executed\n" \ "\t\t\tcommands to be executed\n" \
"\t-i\t\tEdit files in-place\n" \ "\t-i\t\tedit files in-place\n" \
"\t-n\t\tsuppress automatic printing of pattern space\n" \
"\t-r\t\tuse extended regular expression syntax\n"
"\n" \ "\n" \
"If no -e or -f is given, the first non-option argument is taken as the sed\n"\ "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"\ "script to interpret. All remaining arguments are names of input files; if no\n"\