Update sed help. (Add -r option to long help, add -i option to brief help,
authorRob Landley <rob@landley.net>
Wed, 26 May 2004 21:59:31 +0000 (21:59 -0000)
committerRob Landley <rob@landley.net>
Wed, 26 May 2004 21:59:31 +0000 (21:59 -0000)
and alphabetizie the option list.)

include/usage.h

index 1cc6703..987965c 100644 (file)
        "$ rx /tmp/foo\n"
 
 #define sed_trivial_usage \
-       "[-nef] pattern [files...]"
+       "[-efinr] pattern [files...]"
 #define sed_full_usage \
        "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 script-file contents to the\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" \
        "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"\