Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: description of "source" in bash in posix mode wrong
https://bugzilla.redhat.com/show_bug.cgi?id=481750
Summary: description of "source" in bash in posix mode wrong
Product: Fedora
Version: rawhide
Platform: All
OS/Version: Linux
Status: NEW
Severity: medium
Priority: low
Component: man-pages-ja
AssignedTo: tagoh(a)redhat.com
ReportedBy: mtasaka(a)ioa.s.u-tokyo.ac.jp
QAContact: extras-qa(a)fedoraproject.org
CC: tagoh(a)redhat.com, fedora-i18n-bugs(a)redhat.com
Estimated Hours: 0.0
Classification: Fedora
Description of problem:
In :
bash-3.2-29.fc10.i386
bash-4.0-rc1.1.fc11.i386
LANG=C man bash says:
-----------------------------------------
source:
......
When bash is not in posix mode, the current directory is
searched if no file is found in PATH.
-----------------------------------------
However with man-pages-ja-20081015-1.fc10, man bash
says (in ja_JP):
-----------------------------------------
source:
......
bash が posix モードで動作していれば、PATH 中でファイルを見つ
けられなかった場合には、カレントディレクトリが検索されます。
-----------------------------------------
This is quite opposite.
Actually with bash-4.0-rc1.1.fc11:
-----------------------------------------
$ rpm -q bash
bash-4.0-rc1.1.fc11.i386
$ ls -al eval.sh
-rw-r--r-- 1 tasaka1 tasaka1 323 2009-01-27 21:59 eval.sh
$ sh -c ". eval.sh"
sh: line 0: .: eval.sh: file not found
-----------------------------------------
i.e. in posix mode source in sh does not search for the current
directory any more
--
Configure bugmail:
https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.