Export variables

2003-01-06 Thread Gerard Samuel
How does one export variables in root's shell.
Im trying to set some variables trying to get mailman from the ports to 
install.

Thanks

--
Gerard Samuel
http://www.trini0.org:81/
http://dev.trini0.org:81/



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Export variables

2003-01-06 Thread Kurt Bigler
on 1/6/03 4:32 PM, Gerard Samuel [EMAIL PROTECTED] wrote:

 How does one export variables in root's shell.
 Im trying to set some variables trying to get mailman from the ports to
 install.
 
 Thanks

If I get right what you're asking...

Root's shell is csh by default.  Csh does not have an exact equivalent to
the sh export command.  Instead you must use

setenv variable value

Note the lack of the = sign.

This basically combines the functions of sh's set and export.  (Maybe there
are some subtle differences if you subsequently set the non-exported
variable by the same name?  But you probably don't need to worry about
this.)

-Kurt Bigler




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message