From owner-freebsd-questions Thu Jul 27 17: 4:34 2000 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id EFE4837BCCE for ; Thu, 27 Jul 2000 17:04:15 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.15 #1) id 13HwF8-0009lv-00; Thu, 27 Jul 2000 23:35:06 +0100 Received: (from ben) by strontium.scientia.demon.co.uk (Exim 3.15 #1) id 13HwF8-000EIT-00; Thu, 27 Jul 2000 23:35:06 +0100 Date: Thu, 27 Jul 2000 23:35:06 +0100 From: Ben Smithurst To: Jim Freeze Cc: questions@freebsd.org Subject: Re: declare -x Message-ID: <20000727233506.O59315@strontium.scientia.demon.co.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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