export command not found?

Matthew Seaman m.seaman at infracaninophile.co.uk
Sat Feb 10 14:02:48 UTC 2007


Erik Trulsson wrote:
> On Sat, Feb 10, 2007 at 12:35:56PM +0000, Matthew Seaman wrote:


>> /bin/sh is not bash on FreeBSD.  IF you're using /bin/sh, then you
>> need to assign and export values as separate operations:
>>
>>    FOO=bar
>>    export FOO
> 
> Not true. FreeBSD's /bin/sh supports the 'export FOO=bar' syntax.
> 

Hmmm... you're right.  Seems it was added about 10 years ago...

	Far too newfangled for me.

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       7 Priory Courtyard
                                                      Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey         Ramsgate
                                                      Kent, CT11 9PW

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070210/c1ddd36d/signature.pgp


More information about the freebsd-questions mailing list