From owner-freebsd-questions@FreeBSD.ORG Sat Feb 10 12:53:00 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 F39B016A401 for ; Sat, 10 Feb 2007 12:52:59 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp02.sth.basefarm.net (ch-smtp02.sth.basefarm.net [80.76.149.213]) by mx1.freebsd.org (Postfix) with ESMTP id AE25C13C46B for ; Sat, 10 Feb 2007 12:52:59 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-253-10-135.bredband.comhem.se ([83.253.10.135]:55338 helo=falcon.midgard.homeip.net) by ch-smtp02.sth.basefarm.net with smtp (Exim 4.63) (envelope-from ) id 1HFris-0003JU-7M for freebsd-questions@freebsd.org; Sat, 10 Feb 2007 13:52:58 +0100 Received: (qmail 1975 invoked from network); 10 Feb 2007 13:52:54 +0100 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with SMTP; 10 Feb 2007 13:52:54 +0100 Received: (qmail 828 invoked by uid 1001); 10 Feb 2007 13:52:54 +0100 Date: Sat, 10 Feb 2007 13:52:54 +0100 From: Erik Trulsson To: Matthew Seaman Message-ID: <20070210125254.GA804@owl.midgard.homeip.net> Mail-Followup-To: Matthew Seaman , Roger Olofsson , freebsd-questions@freebsd.org References: <45CDB934.6080802@passagen.se> <45CDBC2C.6050005@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45CDBC2C.6050005@infracaninophile.co.uk> User-Agent: Mutt/1.5.13 (2006-08-11) X-Scan-Result: No virus found in message 1HFris-0003JU-7M. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1HFris-0003JU-7M e04ec222f7c68c884153848ee2caa462 Cc: freebsd-questions@freebsd.org, Roger Olofsson 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:53:00 -0000 On Sat, Feb 10, 2007 at 12:35:56PM +0000, Matthew Seaman wrote: > Roger Olofsson wrote: > > Dear Mailing List, > > > > 6.2-STABLE FreeBSD just made world. > > > > # export VARIABLE value > > export: Command not found. > > > > > > What happened to export? > > > > 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=bar > export FOO Not true. FreeBSD's /bin/sh supports the 'export FOO=bar' syntax. > > 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 > > > -- > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > Kent, CT11 9PW > -- Erik Trulsson ertr1013@student.uu.se