On 2006/08/09, at 20:39, Martin Neubauer wrote:
Well, now I have tried. It doesn't do the trick.
b=`{cat /env/a}^''
gives a warning if a is an empty string but works otherwise.
b=$`{basename /env/a}
is the cleanest solution, I think.
The solution is same as
b=$a
this works if a is already a shell variable.
Try
c='' # null string
a=()
b=()
cp /env/c /env/a
then exec
b=$`{basename /env/a}
