aboutsummaryrefslogtreecommitdiff
path: root/sed.c
diff options
context:
space:
mode:
Diffstat (limited to 'sed.c')
-rw-r--r--sed.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sed.c b/sed.c
index 34756e09a..4dfc0246c 100644
--- a/sed.c
+++ b/sed.c
@@ -32,18 +32,18 @@
32#include <ctype.h> 32#include <ctype.h>
33 33
34static const char sed_usage[] = 34static const char sed_usage[] =
35"sed [-n] [-e script] [file...]\n" 35"sed [-n] [-e script] [file...]\n\n"
36"Allowed scripts come in the following form:\n\n" 36"Allowed sed scripts come in the following form:\n"
37"'s/regexp/replacement/[gp]'\n" 37"\t's/regexp/replacement/[gp]'\n"
38"\tattempt to match regexp against the pattern space\n" 38"which attempt to match regexp against the pattern space\n"
39"\tand if successful replaces the matched portion with replacement.\n\n" 39"and if successful replaces the matched portion with replacement.\n\n"
40"Options:\n" 40"Options:\n"
41"-e\tadd the script to the commands to be executed\n" 41"-e\tadd the script to the commands to be executed\n"
42"-n\tsuppress automatic printing of pattern space\n\n" 42"-n\tsuppress automatic printing of pattern space\n\n"
43#if defined BB_REGEXP 43#if defined BB_REGEXP
44"This version of sed matches full regexps.\n"; 44"This version of sed matches full regular expresions.\n";
45#else 45#else
46"This version of sed matches strings (not full regexps).\n"; 46"This version of sed matches strings (not full regular expresions).\n";
47#endif 47#endif
48 48
49 49