env.d and tcsh

Paweł Gołaszewski blues at pld-linux.org
Thu Oct 14 21:31:55 CEST 2004


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?

-- 
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