[ale] csh question

John Wells jb at sourceillustrated.com
Tue Jan 14 21:31:55 EST 2003


To set a var, do:

set VARNAME=VALUE

to set and export, do:

setenv VARNAME VALUE

That should do it.

John

Geoffrey said:
> Fletch wrote:
>>>>>>>"esoteric" == esoteric  <Geoffrey> writes:
>>
>>
>>     esoteric> Hey all you csh experts what is the command used to
>> esoteric> export a variable in csh?  (bash: export HOME)
>>
>> exec (z|k|ba)sh
>> export FOO=bar
>>
>>
>> But if you're stuck with csh, you want `setenv FOO bar' or some
>> variant thereof.
>
> Not me, some other poor sap. :)  ksh for me.  I couldn't even check the
> man page as I don't even install it on any of my boxes.  So there's no
> way to set a var and not export it under csh???
>
> Thanks.
>
>
> --
> Until later: Geoffrey		esoteric at 3times25.net
>
> The latest, most widespread virus?  Microsoft end user agreement.
> Think about it...
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale



_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale






More information about the Ale mailing list