* Martin Neubauer ([EMAIL PROTECTED]) wrote:
> * [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote:
> > Thanks Martin,
> > 
> > Then, how to bring up an environment variable a to a shell variable b?
> > command
> > b=`{cat /env/a}
> > does not work all the time.
> > 
> 
> Hello,
> 
> I haven't tried, but
> b=`{ifs='' cat /env/a}
> might do the Right Thing.
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.

Reply via email to