aboutsummaryrefslogtreecommitdiff
path: root/editors/sed.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-09-13 18:40:22 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2011-09-13 18:40:22 +0200
commita221bc5f9909a6914ec6f4d14f76bb28c4a4cddf (patch)
tree2dae828a42495b7301e5bd9aa259948c02aeb5ec /editors/sed.c
parentf9e07e70bb086697190ac1dcfb75d99b59a374be (diff)
downloadbusybox-w32-a221bc5f9909a6914ec6f4d14f76bb28c4a4cddf.tar.gz
busybox-w32-a221bc5f9909a6914ec6f4d14f76bb28c4a4cddf.tar.bz2
busybox-w32-a221bc5f9909a6914ec6f4d14f76bb28c4a4cddf.zip
sed: better help text
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'editors/sed.c')
-rw-r--r--editors/sed.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/editors/sed.c b/editors/sed.c
index 1552cf370..c8bb503ea 100644
--- a/editors/sed.c
+++ b/editors/sed.c
@@ -26,7 +26,7 @@
26 * add_input_file() adds a FILE* to the list of input files. We need to 26 * add_input_file() adds a FILE* to the list of input files. We need to
27 * know all input sources ahead of time to find the last line for the $ match. 27 * know all input sources ahead of time to find the last line for the $ match.
28 * 28 *
29 * process_files() does actual sedding, reading data lines from each input FILE * 29 * process_files() does actual sedding, reading data lines from each input FILE*
30 * (which could be stdin) and applying the sed command list (sed_cmd_head) to 30 * (which could be stdin) and applying the sed command list (sed_cmd_head) to
31 * each of the resulting lines. 31 * each of the resulting lines.
32 * 32 *
@@ -57,7 +57,8 @@
57 */ 57 */
58 58
59//usage:#define sed_trivial_usage 59//usage:#define sed_trivial_usage
60//usage: "[-efinr] SED_CMD [FILE]..." 60//usage: "[-inr] [-f FILE]... [-e CMD]... [FILE]...\n"
61//usage: "or: sed [-inr] CMD [FILE]..."
61//usage:#define sed_full_usage "\n\n" 62//usage:#define sed_full_usage "\n\n"
62//usage: " -e CMD Add CMD to sed commands to be executed" 63//usage: " -e CMD Add CMD to sed commands to be executed"
63//usage: "\n -f FILE Add FILE contents to sed commands to be executed" 64//usage: "\n -f FILE Add FILE contents to sed commands to be executed"