Re: DIRSTACK[0] contains literal "~"

2018-07-17 Thread Chet Ramey
On 7/12/18 7:38 PM, jeremy.richa...@ngc.com wrote: > Bash Version: 4.2 > Patch Level: 46 > Release Status: release > > Description: > I noticed some strange behavior in the DIRSTACK variable (used in > pushd/popd). > `declare -p DIRSTACK` > shows the list of current directories on t

DIRSTACK[0] contains literal "~"

2018-07-16 Thread jeremy.richards
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-redhat-linux-gnu' -DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale'