env.d and tcsh

Paweł Gołaszewski blues at pld-linux.org
Sat Oct 16 15:16:47 CEST 2004


On Fri, 15 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.

But works in other cases? If so - better than before :)

Can you fix that?

-- 
pozdr.  Paweł Gołaszewski 
---------------------------------
If you think of MS-DOS as mono, and Windows as stereo,
then Linux is Dolby Pro-Logic Surround Sound with Bass Boost
and all the music is free.




More information about the pld-devel-en mailing list