aboutsummaryrefslogtreecommitdiff
path: root/sed.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>1999-11-10 23:13:02 +0000
committerEric Andersen <andersen@codepoet.org>1999-11-10 23:13:02 +0000
commitd73dc5b07390fb90e7f605871c993a28eedf1d46 (patch)
tree3e448e6550da52d2709e5f52fbae56e9df9462cc /sed.c
parent84d85680712573c7a8bd7d0491c3f944dc08ad10 (diff)
downloadbusybox-w32-d73dc5b07390fb90e7f605871c993a28eedf1d46.tar.gz
busybox-w32-d73dc5b07390fb90e7f605871c993a28eedf1d46.tar.bz2
busybox-w32-d73dc5b07390fb90e7f605871c993a28eedf1d46.zip
Updates to usage, and made tar work.
-Erik
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