summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2000-07-16 20:57:15 +0000
committerMatt Kraai <kraai@debian.org>2000-07-16 20:57:15 +0000
commitbf181b9338152759fd56c8009e9a962a84808e7c (patch)
treee8c416c791c690f661c513340662e4e98ff3464a /editors
parent3bd8bd89ee9d0b65bf279e1ecad826a5f2f0a217 (diff)
downloadbusybox-w32-bf181b9338152759fd56c8009e9a962a84808e7c.tar.gz
busybox-w32-bf181b9338152759fd56c8009e9a962a84808e7c.tar.bz2
busybox-w32-bf181b9338152759fd56c8009e9a962a84808e7c.zip
Extract usage information into a separate file.
Diffstat (limited to 'editors')
-rw-r--r--editors/sed.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/editors/sed.c b/editors/sed.c
index 1f1e9069c..4d4886e19 100644
--- a/editors/sed.c
+++ b/editors/sed.c
@@ -85,22 +85,6 @@ static int ncmds = 0; /* number of sed commands */
85 85
86/*static char *cur_file = NULL;*/ /* file currently being processed XXX: do I need this? */ 86/*static char *cur_file = NULL;*/ /* file currently being processed XXX: do I need this? */
87 87
88static const char sed_usage[] =
89 "sed [-Vhnef] pattern [files...]\n"
90#ifndef BB_FEATURE_TRIVIAL_HELP
91 "\n"
92 "-n\tsuppress automatic printing of pattern space\n"
93 "-e script\tadd the script to the commands to be executed\n"
94 "-f scriptfile\tadd the contents of script-file to the commands to be executed\n"
95 "-h\tdisplay this help message\n"
96 "-V\toutput version information and exit\n"
97 "\n"
98 "If no -e or -f is given, the first non-option argument is taken as the\n"
99 "sed script to interpret. All remaining arguments are names of input\n"
100 "files; if no input files are specified, then the standard input is read.\n"
101#endif
102 ;
103
104#if 0 88#if 0
105static void destroy_cmd_strs() 89static void destroy_cmd_strs()
106{ 90{