summaryrefslogtreecommitdiff
path: root/builtins
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2011-12-07 09:22:40 -0500
committerChet Ramey <chet.ramey@case.edu>2011-12-07 09:22:40 -0500
commit245a493cfba3bd1e3d431c7241fc8e6c62b595e6 (patch)
tree6fce1259ec50bb59c8c7ac3e9f66d139771348cd /builtins
parentadfe6c99d0b1e39afa93074497ec2038231223d2 (diff)
downloadbash-245a493cfba3bd1e3d431c7241fc8e6c62b595e6.tar.gz
commit bash-20080424 snapshot
Diffstat (limited to 'builtins')
-rw-r--r--builtins/help.def5
-rw-r--r--builtins/reserved.def2
2 files changed, 2 insertions, 5 deletions
diff --git a/builtins/help.def b/builtins/help.def
index 9d06fe35..f6adf0c3 100644
--- a/builtins/help.def
+++ b/builtins/help.def
@@ -125,10 +125,7 @@ help_builtin (list)
if (glob_pattern_p (list->word->word))
{
- if (list->next)
- printf (_("Shell commands matching keywords `"));
- else
- printf (_("Shell commands matching keyword `"));
+ printf (ngettext ("Shell commands matching keyword `", "Shell commands matching keywords `", (list->next ? 2 : 1)));
print_word_list (list, ", ");
printf ("'\n\n");
}
diff --git a/builtins/reserved.def b/builtins/reserved.def
index 7a0b7ebe..b05b576f 100644
--- a/builtins/reserved.def
+++ b/builtins/reserved.def
@@ -53,7 +53,7 @@ $END
$BUILTIN select
$SHORT_DOC select NAME [in WORDS ... ;] do COMMANDS; done
-Select words from a list and execute commands..
+Select words from a list and execute commands.
The WORDS are expanded, generating a list of words. The
set of expanded words is printed on the standard error, each