bug-bash
[Top][All Lists]
Advanced

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

expand_aliases should be on for interactive shells


From: Joseph Michaud
Subject: expand_aliases should be on for interactive shells
Date: Mon, 21 May 2007 12:00:52 -0400
User-agent: Thunderbird 1.5.0.10 (Windows/20070221)

Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: cygwin
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash.exe' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='cygwin' -DCONF_MACHTYPE='i686-pc-cygwin' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -DRECYCLES_PIDS -I. -I/home/eblake/bash-3.2.17-15/src/bash-3.2 -I/home/eblake/bash-3.2.17-15/src/bash-3.2/include -I/home/eblake/bash-3.2.17-15/src/bash-3.2/lib -O2 -pipe uname output: CYGWIN_NT-5.2-WOW64 HeadNode 1.5.24(0.156/4/2) 2007-01-31 10:57 i686 Cygwin
Machine Type: i686-pc-cygwin

Bash Version: 3.2
Patch Level: 17
Release Status: release

Description:
        Despite man page description and assurance some years ago that
        it would be fixed
        (http://lists.gnu.org/archive/html/bug-bash/2000-11/msg00092.html),
        it appears that the bash shell option "expand_aliases" is not
        properly set for interactive shells.

Repeat-By:
        $ echo "echo \".bashrc: \`shopt expand_aliases\`\"" > ~/.bashrc
        $ echo "echo \"foo: \`shopt expand_aliases\`\"" > foo
        $ bash --version
        GNU bash, version 3.2.17(15)-release (i686-pc-cygwin)
        Copyright (C) 2005 Free Software Foundation, Inc.
        
        $ bash -i foo
        .bashrc: expand_aliases         on
        foo: expand_aliases     off





reply via email to

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