Your message dated Sun, 13 Nov 2011 01:08:22 -0600
with message-id <[email protected]>
and subject line Re: bash --posix: . (dot command) doesn't use PATH to search 
for scripts
has caused the Debian Bug report #540353,
regarding bash --posix: . (dot command) doesn't use PATH to search for scripts
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
540353: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=540353
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: bash
Version: 3.2-4
Severity: normal

/tmp$ echo "echo OK" > ok
/tmp$ bash --posix -c ". ok"
OK

According POSIX: http://www.opengroup.org/onlinepubs/9699919799/toc.htm
the dot command should look the path (and not the local dir).

ciao
    cate


-- System Information:
Debian Release: 5.0.2
  APT prefers stable
  APT policy: (500, 'stable'), (102, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.28.6
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bash depends on:
ii  base-files                5lenny3        Debian base system miscellaneous f
ii  debianutils               2.30           Miscellaneous utilities specific t
ii  libc6                     2.7-18         GNU C Library: Shared libraries
ii  libncurses5               5.7+20081213-1 shared libraries for terminal hand

Versions of packages bash recommends:
ii  bash-completion               20080705   programmable completion for the ba

Versions of packages bash suggests:
pn  bash-doc                      <none>     (no description available)

-- no debconf information



--- End Message ---
--- Begin Message ---
Version: 4.2-1~exp1

Giacomo Catenazzi wrote:

> /tmp$ echo "echo OK" > ok
> /tmp$ bash --posix -c ". ok"
> OK
>
> According POSIX: http://www.opengroup.org/onlinepubs/9699919799/toc.htm
> the dot command should look the path (and not the local dir).

Thanks.  Fixed upstream in bash 4.2.

    x.  Posix-mode shells use the argument passed to `.' as-is if a $PATH search
        fails, effectively searching the current directory.  Posix-2008 change.


--- End Message ---

Reply via email to