aboutsummaryrefslogtreecommitdiff
path: root/sed.c
diff options
context:
space:
mode:
authorkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-07-16 20:57:15 +0000
committerkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-07-16 20:57:15 +0000
commitd353f773bab8c0f92e149a74400aa31b57da9d05 (patch)
treee8c416c791c690f661c513340662e4e98ff3464a /sed.c
parent3ab1d8193e335afa74e86a8d8e628158d7e503b9 (diff)
downloadbusybox-w32-d353f773bab8c0f92e149a74400aa31b57da9d05.tar.gz
busybox-w32-d353f773bab8c0f92e149a74400aa31b57da9d05.tar.bz2
busybox-w32-d353f773bab8c0f92e149a74400aa31b57da9d05.zip
Extract usage information into a separate file.
git-svn-id: svn://busybox.net/trunk/busybox@864 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'sed.c')
-rw-r--r--sed.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/sed.c b/sed.c
index 1f1e9069c..4d4886e19 100644
--- a/sed.c
+++ b/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{