2012/2/18 郑文辉(Techlive Zheng) <techlivezheng@gmail.com>:
2012/2/18 大熊 <bearsprite@gmail.com>:
在 2012年2月17日 下午10:32,郑文辉(Techlive Zheng) <techlivezheng@gmail.com>写道:
As I mentioned before, same problem in my /etc/bash_completion.d/git happend some tiem ago, now it is gone, because git bash_completion does not contain "done < <(*)" syntax any more.
Also, as the first mail submiter and I are both Chinese. Is there any chance that may be the locale caused this? I set locale to "en_US.UTF-8" in the rc.conf while using "zh_CN.UFT-8" under X.
I meet this problem on a fresh installed system, no more customization. Also, I set en_US.UTF-8 in rc.conf and set zh_CN.UTF-8 in my login shell(I use zsh).
-- 立志在女儿把我搞崩溃前把她养大 看着女儿一天天长大,可惜我还是菜鸟
Does this has anything todo with the bash_completion, I comment the line "source /etc/bash_completion" in both /etc/profile and /etc/bash.bashrc, and then, everything goes well.
running `sh /etc/rc.d/functions`, shows /etc/rc.d/functions: line 506: syntax error near unexpected token `<' /etc/rc.d/functions: line 506: ` done < <(findmnt -mrunRo TARGET,FSTYPE,OPTIONS /)' running `bash /etc/rc.d/functions` is okay. But 'ls -l /bin/sh', shows that sh is a symlink to bash, but why it behaves so differently? lrwxrwxrwx 1 root root 4 2011-11-23 14:08 /bin/sh -> bash