Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
sed: better help text
Browse files Browse the repository at this point in the history
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
  • Loading branch information
Denys Vlasenko committed Sep 13, 2011
1 parent f9e07e7 commit a221bc5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions editors/sed.c
Expand Up @@ -26,7 +26,7 @@
* add_input_file() adds a FILE* to the list of input files. We need to * add_input_file() adds a FILE* to the list of input files. We need to
* know all input sources ahead of time to find the last line for the $ match. * know all input sources ahead of time to find the last line for the $ match.
* *
* process_files() does actual sedding, reading data lines from each input FILE * * process_files() does actual sedding, reading data lines from each input FILE*
* (which could be stdin) and applying the sed command list (sed_cmd_head) to * (which could be stdin) and applying the sed command list (sed_cmd_head) to
* each of the resulting lines. * each of the resulting lines.
* *
Expand Down Expand Up @@ -57,7 +57,8 @@
*/ */


//usage:#define sed_trivial_usage //usage:#define sed_trivial_usage
//usage: "[-efinr] SED_CMD [FILE]..." //usage: "[-inr] [-f FILE]... [-e CMD]... [FILE]...\n"
//usage: "or: sed [-inr] CMD [FILE]..."
//usage:#define sed_full_usage "\n\n" //usage:#define sed_full_usage "\n\n"
//usage: " -e CMD Add CMD to sed commands to be executed" //usage: " -e CMD Add CMD to sed commands to be executed"
//usage: "\n -f FILE Add FILE contents to sed commands to be executed" //usage: "\n -f FILE Add FILE contents to sed commands to be executed"
Expand Down

0 comments on commit a221bc5

Please sign in to comment.