Re: bash 4: source does not search current dir
On Mon, Jul 20, 2009 at 3:20 AM, Chet Rameychet.ra...@case.edu wrote: Denys Vlasenko wrote: I assume . command does not search current directory anymore in bash 4 for a reason. Perhaps it is specified by relevant standard, although I did not find it. This incompatible change affects me a lot. I imagine I am not alone with this. This happens only when in Posix mode, and is what Posix specifies. I fixed a bug in versions predating bash-4.0 that caused it to not work correctly; that's probably what you're seeing. Yep. I assumed from the start that this change wasn't done on a whim. I am not complaining about it. My mail was mostly about this part: To forestall questions from users like me, consider adding information about it to this file: http://tiswww.case.edu/php/chet/bash/COMPAT; since this is clearly a compat issue, and it affects many users. -- vda
Re: bash 4: source does not search current dir
Denys Vlasenko wrote: Hi, I assume . command does not search current directory anymore in bash 4 for a reason. Perhaps it is specified by relevant standard, although I did not find it. This incompatible change affects me a lot. I imagine I am not alone with this. This happens only when in Posix mode, and is what Posix specifies. I fixed a bug in versions predating bash-4.0 that caused it to not work correctly; that's probably what you're seeing. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Chet Ramey, ITS, CWRUc...@case.eduhttp://cnswww.cns.cwru.edu/~chet/
bash 4: source does not search current dir
Hi, I assume . command does not search current directory anymore in bash 4 for a reason. Perhaps it is specified by relevant standard, although I did not find it. This incompatible change affects me a lot. I imagine I am not alone with this. To forestall questions from users like me, consider adding information about it to this file: http://tiswww.case.edu/php/chet/bash/COMPAT Thanks. -- vda
Re: bash 4: source does not search current dir
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Denys Vlasenko on 7/18/2009 11:48 AM: Hi, I assume . command does not search current directory anymore in bash 4 for a reason. Perhaps it is specified by relevant standard, although I did not find it. It is specified by POSIX: http://www.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#dot You can add . to your PATH (probably smarter at the end, not the beginning) if you want to find scripts without anchoring them with a leading './'. - -- Don't work too hard, make some time for fun as well! Eric Blake e...@byu.net -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkpiJpQACgkQ84KuGfSFAYDQzQCfcKRLHuLJ8qGvXST63r4haGA+ QkQAoLj+VbtyXr44VAp8dOOgYZbvXKWu =+GfJ -END PGP SIGNATURE-