Date: Mon, 06 Jan 2003 17:11:23 -0800 From: Kurt Bigler <kkb@breathhost.net> To: Gerard Samuel <gsam@trini0.org>, <questions@FreeBSD.ORG> Subject: Re: Export variables Message-ID: <BA3F693B.6115%kkb@breathhost.net> In-Reply-To: <3E1A2030.8010809@trini0.org>
next in thread | previous in thread | raw e-mail | index | archive | help
on 1/6/03 4:32 PM, Gerard Samuel <gsam@trini0.org> 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 majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BA3F693B.6115%kkb>
