* [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote:
> 
> 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}

I see what you are trying to accomplish. Probably
b=$"`{cat /env/a}
will do.

Reply via email to