From owner-freebsd-current@FreeBSD.ORG Thu Jul 14 20:01:26 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4913F16A41C for ; Thu, 14 Jul 2005 20:01:26 +0000 (GMT) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [83.98.131.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA23643D46 for ; Thu, 14 Jul 2005 20:01:25 +0000 (GMT) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 36E881704D; Thu, 14 Jul 2005 22:01:24 +0200 (CEST) Date: Thu, 14 Jul 2005 22:01:24 +0200 From: Ed Schouten To: nj18 Message-ID: <20050714200124.GF36726@hoeg.nl> References: <42D6BED3.3030602@nerdshack.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ILuaRSyQpoVaJ1HG" Content-Disposition: inline In-Reply-To: <42D6BED3.3030602@nerdshack.com> User-Agent: Mutt/1.5.9i X-Mailman-Approved-At: Fri, 15 Jul 2005 12:43:35 +0000 Cc: FreeBSD Current Subject: Re: Strange message: Text file busy. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jul 2005 20:01:26 -0000 --ILuaRSyQpoVaJ1HG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * nj18 wrote: > > echo date >somescript > > chmod +x somescript > > ./somescript > ./somescript: Text file busy. What if you put the following contents in somescript: #!/bin/sh date I guess FreeBSD 4.6 takes /bin/sh as the interpreter by default, but FreeBSD 5 and higher don't. Yours, --=20 Ed Schouten --ILuaRSyQpoVaJ1HG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFC1sSUmVI4SHXwmhERAi+GAKDOp2D32RuyKbflrt0bFWogZ/ih6gCgmBuG vU6PRs6hXXEfmdwtIdc7yIg= =PR9l -----END PGP SIGNATURE----- --ILuaRSyQpoVaJ1HG--