Package: ksh
Version: 93s+20080202-1
Severity: normal

On a powerpc or an i386 machine, I do:

% echo $XXX

% XXX="hello" /bin/echo $XXX

% (export XXX; XXX="hello"; /bin/echo $XXX)
hello
%
%

The manual states:

The environment for any simple-command or function may be augmented  by  
prefixing
it  with  one  or  more variable assignments.  A variable assignment argument 
is a
word of the form identifier=value.  Thus:

       TERM=450 cmd args                  and
       (export TERM; TERM=450; cmd args)

are equivalent (as far as the above execution of cmd is concerned except for  
spe‐
cial built-in commands listed below - those that are preceded with a dagger).
..... end of manual passage......


Admittedly, it seems odd that something as common as the above feature should 
not be
working, at this facility on multiple lenny installs and a squeeze install, and 
not 
be flagged by a host of other users. It makes me think that it is something 
with the 
local setup. However, even if I set up a new account, the same "error" happens. 
The 
same thing happens with bash too.


-- System Information:
Debian Release: squeeze/sid
Architecture: powerpc (ppc)

Kernel: Linux 2.6.32-5-powerpc
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ksh depends on:
ii  libc6                         2.11.2-6   Embedded GNU C Library: Shared lib

ksh recommends no packages.

ksh suggests no packages.

-- no debconf information



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to