Beware of bash 3.1

Stephen John Smoogen smooge at gmail.com
Sat Apr 29 04:11:46 UTC 2006


On 4/28/06, Stephen John Smoogen <smooge at gmail.com> wrote:

> > cat <<EOF > /etc/profile.d/java.sh
> > export JAVA_HOME=/opt/jre1.5.0_06
> > export PATH=$JAVA_HOME/bin:$PATH
> > EOF
> >
>
>
> In my bash addled brain.. I would say it is a bug. Expanding out data
> that is being done in an EOF does not look in any way sh/ksh/etc
> compliant.. and just prone to breaking too many things.
>

Ok definately need sleep. It is doing what it is supposed to do in EOF
sections. I am going to bed.. nevermind


--
Stephen J Smoogen.
CSIRT/Linux System Administrator




More information about the devel mailing list