environment variable assignments are ignored by printf built-in

2010-11-27 Thread Bruno Haible
Hi, An assignment to the LANG variable appears to have no effect when executed in the same 'simple command' as the 'printf' built-in. How to reproduce: - Use bash-4.1 or bash-3.2.39. - On a system with a German (or French) locale installed. $ unset LC_ALL LC_NUMERIC $ export LANG=de_DE.UT

how to silence shopt -s autocd verbose?

2010-11-27 Thread some guy
shopt -q doesn't silence shopt -s autocd (intuitively, after reading it's description, i thought this was it's purpose, but is not.) shopt -s autocd /home/meow/cats # /home/meow/cats (notice how it repeats itself after I cd the autocd way, simply by typing the path? This is redundant informati