David Levine <levinedl(_at_)acm(_dot_)org> writes:
Norm wrote:
In the nmh-1.4 sources, there is a file, docs/COMPLETION-BASH.
I assumed that it is a bash source file. But, from bash,
source COMPLETION-BASH
yields the error mesages:
bash: COMPLETION-BASH: line 23: syntax error near unexpected token `('
bash: COMPLETION-BASH: line 23: ` \++([a-zA-Z_]) )'
I just added another error message to it, before those:
ERROR: COMPLETION-BASH is not intended to be sourced directly, but
rather added to a bash-completion package installation.
Is that clear enough?
Well,... I had never heard of a bash-completion package, so it wasn't clear, but
now it is.
Using Redhat 6.2, I installed bash_completion and put COMPLETION-BASH in
/etc/bash_completion.d/. The result was that every time I hit the
tab key I got a slew of error messages about undefined variables, from bash. The
problem persisted when I removed COMPLETION-BASH from
/etc/bash_completion.d/, so it had nothing to do with nmh or you.
When I logged in as a user, not norm, the problem disappeared, so it had to do
with my environment. I spent a couple hours on the problem, to no avail. So for
now, I gave up and uninstalled bash_completion.
Norman Shapiro
798 Barron Avenue
Palo Alto CA 94306-3109
(650) 565-8215
norm(_at_)dad(_dot_)org
_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers