From owner-freebsd-questions@FreeBSD.ORG Mon Feb 14 17:50:11 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5070516A4CE for ; Mon, 14 Feb 2005 17:50:11 +0000 (GMT) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id A32B143D39 for ; Mon, 14 Feb 2005 17:50:10 +0000 (GMT) (envelope-from fbsd-questions@trini0.org) Received: from hivemind.trini0.org (trini0.org[65.34.205.195]) by comcast.net (sccrmhc11) with ESMTP id <2005021417491901100k1j5ie>; Mon, 14 Feb 2005 17:49:54 +0000 Received: from [192.168.0.16] (gladiator.trini0.org [192.168.0.16]) by hivemind.trini0.org (Postfix) with ESMTP id 489516122 for ; Mon, 14 Feb 2005 12:48:50 -0500 (EST) Message-ID: <4210E482.4060204@trini0.org> Date: Mon, 14 Feb 2005 12:48:50 -0500 From: Gerard Samuel User-Agent: Mozilla Thunderbird 1.0 (X11/20050122) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Shabang executable path X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Feb 2005 17:50:11 -0000 A bit off topic, but I figure someone in here, may be able to point me in the right direction. !#/path/to/php Im wondering, if its possible for the /path/to/php can be made dynamic. i.e. Have the file still look as if it is a shell script, but the path to the executable is determined at run time, to make it more portable. Thanks