Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Apr 2000 16:29:03 +0100
From:      Ben Smithurst <ben@scientia.demon.co.uk>
To:        Ben Williams <williamsl@home.com>
Cc:        FreeBSD Questions <FreeBSD-Questions@FreeBSD.org>
Subject:   Re: Re[2]: help!
Message-ID:  <20000403162903.D85754@strontium.scientia.demon.co.uk>
In-Reply-To: <1762.000403@home.com>
References:  <38E8070F.10B8BAD7@raccoon.com> <1762.000403@home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Ben Williams wrote:

>    Just out of curiosity why are all the examples I ever see re
> setting environment variables in bash listed as:
> 
> VARNAME=value; export VARNAME
> 
> instead of:
> 
> export VARNAME=value
> ?

export VARNAME=value is supposedly not guaranteed to work in all
Bourne-type shells.

-- 
Ben Smithurst / ben@scientia.demon.co.uk / PGP: 0x99392F7D


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?20000403162903.D85754>