[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 15:18:45 UTC 2012


bash-completion-Bugs item #313876, was opened at 2012-10-23 17:18 by Bas van G
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=313876&group_id=100114

Status: Open
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: None
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

----------------------------------------------------------------------

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