From owner-freebsd-questions@FreeBSD.ORG Sat Feb 10 12:36:17 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A011316A40A for ; Sat, 10 Feb 2007 12:36:17 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (imap.infracaninophile.co.uk [81.187.76.162]) by mx1.freebsd.org (Postfix) with ESMTP id 08AEE13C4B8 for ; Sat, 10 Feb 2007 12:36:16 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from [IPv6:::1] (localhost.infracaninophile.co.uk [IPv6:::1]) by smtp.infracaninophile.co.uk (8.13.8/8.13.8) with ESMTP id l1ACZvar059420; Sat, 10 Feb 2007 12:35:57 GMT (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <45CDBC2C.6050005@infracaninophile.co.uk> Date: Sat, 10 Feb 2007 12:35:56 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 1.5.0.9 (X11/20070120) MIME-Version: 1.0 To: Roger Olofsson References: <45CDB934.6080802@passagen.se> In-Reply-To: <45CDB934.6080802@passagen.se> X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigD29A6AAE46B0DDE8860ED175" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (smtp.infracaninophile.co.uk [IPv6:::1]); Sat, 10 Feb 2007 12:36:12 +0000 (GMT) X-Virus-Scanned: ClamAV 0.88.7/2546/Sat Feb 10 08:55:09 2007 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DKIM_POLICY_TESTING, NO_RELAYS autolearn=ham version=3.1.7 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: export command not found? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Feb 2007 12:36:17 -0000 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--