Alessandro Russo <russo@dragon.ian.pv.cnr.it> writes:
> > > Suppose the executable file /tmp/a.out exist. Then do:
> > >
> > > # export PATH=/tmp/a.out:$PATH
> > > # ""
> > >
> > > As a result, a.out is executed.
>
> There is another anomaly(?): if I set
>
> # a=""
>
> and then I do
>
> # $a
> #
>
> a.out is NOT executed (infact I get no output). Same in Linux.
That's because $a undergoes word splitting, which results in no
words. If you run "$a" (with the quotes) instead, I expect a.out will
be executed.
paul