Date: Thu, 27 Jul 2000 23:35:06 +0100 From: Ben Smithurst <ben@FreeBSD.org> To: Jim Freeze <jim@freeze.org> Cc: questions@freebsd.org Subject: Re: declare -x Message-ID: <20000727233506.O59315@strontium.scientia.demon.co.uk> In-Reply-To: <Pine.BSF.4.21.0007271356350.93317-100000@web2.sea.nwserv.com> References: <Pine.BSF.4.21.0007271356350.93317-100000@web2.sea.nwserv.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Jim Freeze wrote: > I accidently discoverd that I can use > > declare -x ENVVAR="value" > > from a bash command line to set an environment variable. > > However, I cannot find 'declare' in the man pages Huh? "declare" is clearly documented in bash(1). I'm not sure why it only works from the command line, but then I haven't read the manpage carefully. That's for you to do now. :-) -- Ben Smithurst / ben@FreeBSD.org / PGP: 0x99392F7D FreeBSD Documentation Project / 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?20000727233506.O59315>