diff options
author | Rob Landley <rob@landley.net> | 2009-10-26 16:04:07 -0500 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-10-27 09:07:08 +0100 |
commit | 7b28415483a684c7029f0d2031946b03646c82a1 (patch) | |
tree | 5dbb67664a6ddd04bc4151d2a6232d5bd919bb61 | |
parent | 727e1b536e5478b8f28c93990a5bf34091144608 (diff) | |
download | busybox-w32-7b28415483a684c7029f0d2031946b03646c82a1.tar.gz busybox-w32-7b28415483a684c7029f0d2031946b03646c82a1.tar.bz2 busybox-w32-7b28415483a684c7029f0d2031946b03646c82a1.zip |
Minor usage tweak for sed.
Makes it slightly smaller and (in my opinion) clearer.
Signed-off-by: Rob Landley <rob@landley.net>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | include/usage.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/usage.h b/include/usage.h index 85561c558..591f09184 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -3812,14 +3812,12 @@ | |||
3812 | "Options:" \ | 3812 | "Options:" \ |
3813 | "\n -e CMD Add CMD to sed commands to be executed" \ | 3813 | "\n -e CMD Add CMD to sed commands to be executed" \ |
3814 | "\n -f FILE Add FILE contents to sed commands to be executed" \ | 3814 | "\n -f FILE Add FILE contents to sed commands to be executed" \ |
3815 | "\n -i Edit files in-place" \ | 3815 | "\n -i Edit files in-place (default uses stdout for all output)" \ |
3816 | "\n -n Suppress automatic printing of pattern space" \ | 3816 | "\n -n Suppress automatic printing of pattern space" \ |
3817 | "\n -r Use extended regex syntax" \ | 3817 | "\n -r Use extended regex syntax" \ |
3818 | "\n" \ | 3818 | "\n" \ |
3819 | "\nIf no -e or -f is given, the first non-option argument is taken as the sed" \ | 3819 | "\nIf no -e or -f, the first non-option argument is the sed command string." \ |
3820 | "\ncommand to interpret. All remaining arguments are names of input files; if no" \ | 3820 | "\nRemaining arguments are input files (stdin if none)." |
3821 | "\ninput files are specified, then the standard input is read. Source files" \ | ||
3822 | "\nwill not be modified unless -i option is given." \ | ||
3823 | 3821 | ||
3824 | #define sed_example_usage \ | 3822 | #define sed_example_usage \ |
3825 | "$ echo \"foo\" | sed -e 's/f[a-zA-Z]o/bar/g'\n" \ | 3823 | "$ echo \"foo\" | sed -e 's/f[a-zA-Z]o/bar/g'\n" \ |