aboutsummaryrefslogtreecommitdiffstats
path: root/command.y
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2020-08-24 10:25:56 +0300
committerArnold D. Robbins <arnold@skeeve.com>2020-08-24 10:25:56 +0300
commit0dcd39b002cff7785c38ce535f6e57d4208fefa6 (patch)
tree018a891250ad289b54fa8f28099110e697952ccb /command.y
parente71664615529f419082b373ea7e44c35b0595a97 (diff)
downloadegawk-0dcd39b002cff7785c38ce535f6e57d4208fefa6.tar.gz
egawk-0dcd39b002cff7785c38ce535f6e57d4208fefa6.tar.bz2
egawk-0dcd39b002cff7785c38ce535f6e57d4208fefa6.zip
Make all messages consistent: no final periods.
Diffstat (limited to 'command.y')
-rw-r--r--command.y90
1 files changed, 45 insertions, 45 deletions
diff --git a/command.y b/command.y
index c02b84b1..3936207e 100644
--- a/command.y
+++ b/command.y
@@ -320,12 +320,12 @@ command
| D_SOURCE D_STRING
{
if (in_cmd_src($2->a_string))
- yyerror(_("source: `%s': already sourced."), $2->a_string);
+ yyerror(_("source: `%s': already sourced"), $2->a_string);
}
| D_SAVE D_STRING
{
if (! input_from_tty)
- yyerror(_("save: `%s': command not permitted."), $2->a_string);
+ yyerror(_("save: `%s': command not permitted"), $2->a_string);
}
| D_COMMANDS commands_arg
{
@@ -816,93 +816,93 @@ append_statement(CMDARG *stmt_list, char *stmt)
struct cmdtoken cmdtab[] = {
{ "backtrace", "bt", D_backtrace, D_BACKTRACE, do_backtrace,
- gettext_noop("backtrace [N] - print trace of all or N innermost (outermost if N < 0) frames.") },
+ gettext_noop("backtrace [N] - print trace of all or N innermost (outermost if N < 0) frames") },
{ "break", "b", D_break, D_BREAK, do_breakpoint,
- gettext_noop("break [[filename:]N|function] - set breakpoint at the specified location.") },
+ gettext_noop("break [[filename:]N|function] - set breakpoint at the specified location") },
{ "clear", "", D_clear, D_CLEAR, do_clear,
- gettext_noop("clear [[filename:]N|function] - delete breakpoints previously set.") },
+ gettext_noop("clear [[filename:]N|function] - delete breakpoints previously set") },
{ "commands", "", D_commands, D_COMMANDS, do_commands,
- gettext_noop("commands [num] - starts a list of commands to be executed at a breakpoint(watchpoint) hit.") },
+ gettext_noop("commands [num] - starts a list of commands to be executed at a breakpoint(watchpoint) hit") },
{ "condition", "", D_condition, D_CONDITION, do_condition,
- gettext_noop("condition num [expr] - set or clear breakpoint or watchpoint condition.") },
+ gettext_noop("condition num [expr] - set or clear breakpoint or watchpoint condition") },
{ "continue", "c", D_continue, D_CONTINUE, do_continue,
- gettext_noop("continue [COUNT] - continue program being debugged.") },
+ gettext_noop("continue [COUNT] - continue program being debugged") },
{ "delete", "d", D_delete, D_DELETE, do_delete_breakpoint,
- gettext_noop("delete [breakpoints] [range] - delete specified breakpoints.") },
+ gettext_noop("delete [breakpoints] [range] - delete specified breakpoints") },
{ "disable", "", D_disable, D_DISABLE, do_disable_breakpoint,
- gettext_noop("disable [breakpoints] [range] - disable specified breakpoints.") },
+ gettext_noop("disable [breakpoints] [range] - disable specified breakpoints") },
{ "display", "", D_display, D_DISPLAY, do_display,
- gettext_noop("display [var] - print value of variable each time the program stops.") },
+ gettext_noop("display [var] - print value of variable each time the program stops") },
{ "down", "", D_down, D_DOWN, do_down,
- gettext_noop("down [N] - move N frames down the stack.") },
+ gettext_noop("down [N] - move N frames down the stack") },
{ "dump", "", D_dump, D_DUMP, do_dump_instructions,
- gettext_noop("dump [filename] - dump instructions to file or stdout.") },
+ gettext_noop("dump [filename] - dump instructions to file or stdout") },
{ "enable", "e", D_enable, D_ENABLE, do_enable_breakpoint,
- gettext_noop("enable [once|del] [breakpoints] [range] - enable specified breakpoints.") },
+ gettext_noop("enable [once|del] [breakpoints] [range] - enable specified breakpoints") },
{ "end", "", D_end, D_END, do_commands,
- gettext_noop("end - end a list of commands or awk statements.") },
+ gettext_noop("end - end a list of commands or awk statements") },
{ "eval", "", D_eval, D_EVAL, do_eval,
- gettext_noop("eval stmt|[p1, p2, ...] - evaluate awk statement(s).") },
+ gettext_noop("eval stmt|[p1, p2, ...] - evaluate awk statement(s)") },
{ "exit", "", D_quit, D_QUIT, do_quit,
- gettext_noop("exit - (same as quit) exit debugger.") },
+ gettext_noop("exit - (same as quit) exit debugger") },
{ "finish", "", D_finish, D_FINISH, do_finish,
- gettext_noop("finish - execute until selected stack frame returns.") },
+ gettext_noop("finish - execute until selected stack frame returns") },
{ "frame", "f", D_frame, D_FRAME, do_frame,
- gettext_noop("frame [N] - select and print stack frame number N.") },
+ gettext_noop("frame [N] - select and print stack frame number N") },
{ "help", "h", D_help, D_HELP, do_help,
- gettext_noop("help [command] - print list of commands or explanation of command.") },
+ gettext_noop("help [command] - print list of commands or explanation of command") },
{ "ignore", "", D_ignore, D_IGNORE, do_ignore_breakpoint,
- gettext_noop("ignore N COUNT - set ignore-count of breakpoint number N to COUNT.") },
+ gettext_noop("ignore N COUNT - set ignore-count of breakpoint number N to COUNT") },
{ "info", "i", D_info, D_INFO, do_info,
- gettext_noop("info topic - source|sources|variables|functions|break|frame|args|locals|display|watch.") },
+ gettext_noop("info topic - source|sources|variables|functions|break|frame|args|locals|display|watch") },
{ "list", "l", D_list, D_LIST, do_list,
- gettext_noop("list [-|+|[filename:]lineno|function|range] - list specified line(s).") },
+ gettext_noop("list [-|+|[filename:]lineno|function|range] - list specified line(s)") },
{ "next", "n", D_next, D_NEXT, do_next,
- gettext_noop("next [COUNT] - step program, proceeding through subroutine calls.") },
+ gettext_noop("next [COUNT] - step program, proceeding through subroutine calls") },
{ "nexti", "ni", D_nexti, D_NEXTI, do_nexti,
- gettext_noop("nexti [COUNT] - step one instruction, but proceed through subroutine calls.") },
+ gettext_noop("nexti [COUNT] - step one instruction, but proceed through subroutine calls") },
{ "option", "o", D_option, D_OPTION, do_option,
- gettext_noop("option [name[=value]] - set or display debugger option(s).") },
+ gettext_noop("option [name[=value]] - set or display debugger option(s)") },
{ "print", "p", D_print, D_PRINT, do_print_var,
- gettext_noop("print var [var] - print value of a variable or array.") },
+ gettext_noop("print var [var] - print value of a variable or array") },
{ "printf", "", D_printf, D_PRINTF, do_print_f,
- gettext_noop("printf format, [arg], ... - formatted output.") },
+ gettext_noop("printf format, [arg], ... - formatted output") },
{ "quit", "q", D_quit, D_QUIT, do_quit,
- gettext_noop("quit - exit debugger.") },
+ gettext_noop("quit - exit debugger") },
{ "return", "", D_return, D_RETURN, do_return,
- gettext_noop("return [value] - make selected stack frame return to its caller.") },
+ gettext_noop("return [value] - make selected stack frame return to its caller") },
{ "run", "r", D_run, D_RUN, do_run,
- gettext_noop("run - start or restart executing program.") },
+ gettext_noop("run - start or restart executing program") },
#ifdef HAVE_LIBREADLINE
{ "save", "", D_save, D_SAVE, do_save,
- gettext_noop("save filename - save commands from the session to file.") },
+ gettext_noop("save filename - save commands from the session to file") },
#endif
{ "set", "", D_set, D_SET, do_set_var,
- gettext_noop("set var = value - assign value to a scalar variable.") },
+ gettext_noop("set var = value - assign value to a scalar variable") },
{ "silent", "", D_silent, D_SILENT, do_commands,
- gettext_noop("silent - suspends usual message when stopped at a breakpoint/watchpoint.") },
+ gettext_noop("silent - suspends usual message when stopped at a breakpoint/watchpoint") },
{ "source", "", D_source, D_SOURCE, do_source,
- gettext_noop("source file - execute commands from file.") },
+ gettext_noop("source file - execute commands from file") },
{ "step", "s", D_step, D_STEP, do_step,
- gettext_noop("step [COUNT] - step program until it reaches a different source line.") },
+ gettext_noop("step [COUNT] - step program until it reaches a different source line") },
{ "stepi", "si", D_stepi, D_STEPI, do_stepi,
- gettext_noop("stepi [COUNT] - step one instruction exactly.") },
+ gettext_noop("stepi [COUNT] - step one instruction exactly") },
{ "tbreak", "t", D_tbreak, D_TBREAK, do_tmp_breakpoint,
- gettext_noop("tbreak [[filename:]N|function] - set a temporary breakpoint.") },
+ gettext_noop("tbreak [[filename:]N|function] - set a temporary breakpoint") },
{ "trace", "", D_trace, D_TRACE, do_trace_instruction,
- gettext_noop("trace on|off - print instruction before executing.") },
+ gettext_noop("trace on|off - print instruction before executing") },
{ "undisplay", "", D_undisplay, D_UNDISPLAY, do_undisplay,
- gettext_noop("undisplay [N] - remove variable(s) from automatic display list.") },
+ gettext_noop("undisplay [N] - remove variable(s) from automatic display list") },
{ "until", "u", D_until, D_UNTIL, do_until,
- gettext_noop("until [[filename:]N|function] - execute until program reaches a different line or line N within current frame.") },
+ gettext_noop("until [[filename:]N|function] - execute until program reaches a different line or line N within current frame") },
{ "unwatch", "", D_unwatch, D_UNWATCH, do_unwatch,
- gettext_noop("unwatch [N] - remove variable(s) from watch list.") },
+ gettext_noop("unwatch [N] - remove variable(s) from watch list") },
{ "up", "", D_up, D_UP, do_up,
- gettext_noop("up [N] - move N frames up the stack.") },
+ gettext_noop("up [N] - move N frames up the stack") },
{ "watch", "w", D_watch, D_WATCH, do_watch,
- gettext_noop("watch var - set a watchpoint for a variable.") },
+ gettext_noop("watch var - set a watchpoint for a variable") },
{ "where", "", D_backtrace, D_BACKTRACE, do_backtrace,
- gettext_noop("where [N] - (same as backtrace) print trace of all or N innermost (outermost if N < 0) frames.") },
+ gettext_noop("where [N] - (same as backtrace) print trace of all or N innermost (outermost if N < 0) frames") },
{ NULL, NULL, D_illegal, 0, (Func_cmd) 0,
NULL },
};