bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[50 character or so descriptive subject here (for reference)]


From: Jim Thomas
Subject: [50 character or so descriptive subject here (for reference)]
Date: Thu, 6 Dec 2001 09:25:21 -1000 (HST)

Configuration Information [Automatically generated, do not change]:
Machine: hppa1.1
OS: hpux10.20
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='hppa1.1' 
-DCONF_OSTYPE='hpux10.20' -DCONF_MACHTYPE='hppa1.1-hp-hpux10.20' 
-DCONF_VENDOR='hp' -DSHELL -DHAVE_CONFIG_H -DHPUX   -I.  -I. -I./include 
-I./lib -I/usr/local/include -g -O2
uname output: HP-UX atlas B.10.20 A 9000/712 2007201070 two-user license
Machine Type: hppa1.1-hp-hpux10.20

Bash Version: 2.05
Patch Level: 0
Release Status: release

Description:
        If I use -a in a declare the values are alias expanded.

Repeat-By:
atlas ~ > /usr/local/src/gnu/bash-2.05/bash
bash-2.05$ alias
bash-2.05$ alias e=emacs
bash-2.05$ declare foo=(cygwin e thomas)
bash-2.05$ echo ${foo[*]}
(cygwin e thomas)
bash-2.05$ set cygwin e thomas
bash-2.05$ echo $*
cygwin e thomas
bash-2.05$ declare foo=($*)
bash-2.05$ echo ${foo[*]}
(cygwin e thomas)
bash-2.05$ alias
alias e='emacs'
bash-2.05$ declare -a foo=($*)
bash-2.05$ echo ${foo[*]}
cygwin emacs thomas
bash-2.05$



reply via email to

[Prev in Thread] Current Thread [Next in Thread]