Hi!
X-Edited-With-Muttmode: muttmail.sl - 2003-11-13


On Thu, Oct 14, 2004 at 09:31:55PM +0200, Paweł Gołaszewski wrote:
> On Thu, 14 Oct 2004, Kacper Kornet wrote:
> > Setting of variables from env.d does not work when tcsh is a login
> > shell. In csh.login is even a comment:
> 
> > -                   set j = `grep -v "^#" $i |head -n 1`
> > -                   eval set "$j"
> > +                   set j = `grep -v "^#" $i |head -n 1|cut -s -d= -f1,2 
> > --output-delimiter=' '`
> > +                   echo "$j"
> > +                   eval setenv "$j"
> 
> Applied without one echo :)
> 
> Did you tested it well?

Unfortunately not enough. I forgot about the possibility of "=" in the value
of variable. In that case it does'nt work.

-- 
  Kacper Kornet

_______________________________________________
pld-devel-en mailing list
[EMAIL PROTECTED]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en

Reply via email to