Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#4275 - Annoying errors on login.
Attached to Project:
Arch Linux
Opened by Rohan Dhruva (rohandhruva) - Sunday, 26 March 2006, 05:42 GMT
Opened by Rohan Dhruva (rohandhruva) - Sunday, 26 March 2006, 05:42 GMT
|
DetailsWhen logging in, i get strange errors --
bash: [: [\u@\h: binary operator expected The error appears twice when logging in from a vc (ctrl-alt-fn) and once when logging in from kde konsole. I think it is because of the /etc/profile.d/locale.sh script, because that is the only script that echos tab characters. The error was not there before, it appeared only after a recent upgrade. I use bash. The error is harmless, as far as i can determine. Thanks. |
This task depends upon
Closed by arjan timmerman (blaasvis)
Sunday, 26 March 2006, 09:14 GMT
Reason for closing: Fixed
Additional comments about closing: will be fixed in 20060301-3
Sunday, 26 March 2006, 09:14 GMT
Reason for closing: Fixed
Additional comments about closing: will be fixed in 20060301-3
export PS1='[\u@\h \W]\$ '
on line 18 .. Strange though, the same thing worked before ..
And the same thing is there in my .bashrc --
PS1='[\u@\h \W]\$ '
Can that be the reason for the error appearing two times in vc ?
well i am unable to reproduce it, are you using bash_completion ? i have updated bash and bash_completion yesterday.
chmod a-x /etc/profile.d/bash_completion.sh
solves the problem. Workabout, though, not a solution.
if [ -z "$PS1" ]
i.e., add enclose PS1 in ""
Hope that helps...