[Bash-completion-devel] [bash-completion-Bugs][313876] Error-messages on bash startup (with fix)
bash-completion-bugs at alioth.debian.org
bash-completion-bugs at alioth.debian.org
Tue Oct 23 19:45:45 UTC 2012
bash-completion-Bugs item #313876, was changed at 2012-10-23 22:45 by Ville Skyttä
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=313876&group_id=100114
>Status: Closed
Priority: 3
Submitted By: Bas van G (bavang-guest)
Assigned to: Nobody (None)
Summary: Error-messages on bash startup (with fix)
Distribution: None
Originally reported in: None
Milestone: None
>Status: Invalid
Original bug number:
Initial Comment:
Hi,
When starting bash, I got messages like following:
bash: [: =: unary operator expected
bash: [: =: unary operator expected
After some tracing I found the cause in /etc/bash_completion.d/procps
This uses the value $UNAME unquoted on lines 26 and 41, and, since UNAME is not set on my system, this causes above errors.
Quoting $UNAME fixes it for me.
Hope this will help -at least- other people with systems which are as poorly configured as this one.
greetings,
Bas
----------------------------------------------------------------------
>Comment By: Ville Skyttä (scop-guest)
Date: 2012-10-23 22:45
Message:
Based on the description I guess you're using an old version of bash-completion, the current version is 2.0.
----------------------------------------------------------------------
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=313876&group_id=100114
More information about the Bash-completion-devel
mailing list