Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Feb 2007 12:35:56 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Roger Olofsson <raggen@passagen.se>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: export command not found?
Message-ID:  <45CDBC2C.6050005@infracaninophile.co.uk>
In-Reply-To: <45CDB934.6080802@passagen.se>
References:  <45CDB934.6080802@passagen.se>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigD29A6AAE46B0DDE8860ED175
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable

Roger Olofsson wrote:
> Dear Mailing List,
>=20
> 6.2-STABLE FreeBSD just made world.
>=20
> # export VARIABLE value
> export: Command not found.
>=20
>=20
> What happened to export?
>=20
> Grateful for any answer!

/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=3Dbar
   export FOO

Also, root's shell is not /bin/sh or anything of that ilk by default.
It is /bin/csh aka /bin/tcsh, and for that the syntax is:

   setenv FOO bar

	Cheers,

	Matthew


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


--------------enigD29A6AAE46B0DDE8860ED175
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.2 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFzbwt8Mjk52CukIwRCBsxAJkBjCSrKqe0rh4dw2NjjlHj0433YQCfVRLE
ECVhNmnuf9bKMU2LpAPdCIM=
=YIZb
-----END PGP SIGNATURE-----

--------------enigD29A6AAE46B0DDE8860ED175--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45CDBC2C.6050005>