Okay, I was dumb and didn't actually test on bash 3.0. No more FC4 boxes
around. And my debian box is up to 3.1 now as well. Here's my gentoo
embedded chroot:
burgertime / # bash --version
GNU bash, version 3.00.16(1)-release (i586-gentoo-linux-uclibc)
Copyright (C) 2004 Free Software Foundation, Inc.
burgertime / # cat <<EOF > asfasdfasd
> export JAVA_HOME=/opt/jre1.5.0_06
> export PATH=$JAVA_HOME/bin:$PATH
> EOF
burgertime / # cat asfasdfasd
export JAVA_HOME=/opt/jre1.5.0_06
export
PATH=/bin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/seg/bin
And going back to my original bug:
burgertime ~ # echo ${PWD/#$HOME/~}
~
burgertime ~ # echo ~
/home/seg
And under FC5:
$ echo ${PWD/#$HOME/~}
/home/seg
$ echo ~
/home/seg
So now I'm confused and embarrassed, and those instructions are broken
on FC4 as well.
Attachment:
signature.asc
Description: This is a digitally signed message part