bash-completion-Bugs item #313876, was changed at 2012-10-24 00:53 by Bas van G 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: Bas van G (bavang-guest) Date: 2012-10-24 00:53 Message: Hm... reinstalling made the entire file disappear... Nevermind, sorry for the noise. ---------------------------------------------------------------------- Comment By: Bas van G (bavang-guest) Date: 2012-10-24 00:42 Message: wroong guess... $ dpkg -l 'bash-completion' Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Description +++-==============-==============-============================================ ii bash-completio 1:2.0-1 programmable completion for the bash shell Reopen? Need more info? Ask! ---------------------------------------------------------------------- Comment By: Ville Skyttä (scop-guest) Date: 2012-10-23 21: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 _______________________________________________ Bash-completion-devel mailing list Bash-completion-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-devel