From owner-freebsd-hackers@FreeBSD.ORG Fri Nov 12 17:50:08 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A866E16A4D1 for ; Fri, 12 Nov 2004 17:50:08 +0000 (GMT) Received: from suricate.otoh.org (suricate.otoh.org [64.81.247.155]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30A4E43D4C for ; Fri, 12 Nov 2004 17:50:08 +0000 (GMT) (envelope-from freebsdhackers@otoh.org) Received: from 64.81.247.155 (suricate.otoh.org [64.81.247.155]) by suricate.otoh.org (Postfix) with SMTP id D19C27DC91C; Fri, 12 Nov 2004 09:50:06 -0800 (PST) Received: by suricate.otoh.org (Postfix, from userid 1001) id D28017DC91A; Fri, 12 Nov 2004 09:50:05 -0800 (PST) Date: Fri, 12 Nov 2004 09:50:05 -0800 From: Paul Armstrong To: Avleen Vig , Kevin Lyons , freebsd-hackers@freebsd.org Message-ID: <20041112175005.GG1807@suricate.otoh.org> References: <41940880.7070409@corserv.com> <20041112023023.GG19417@silverwraith.com> <20041112031122.GA87071@falcon.midgard.homeip.net> <20041112055543.GH19417@silverwraith.com> <20041112160528.GA91711@falcon.midgard.homeip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041112160528.GA91711@falcon.midgard.homeip.net> X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on suricate.otoh.org X-Spam-Level: X-Spam-Status: No, hits=0.0 required=5.5 tests=none autolearn=ham version=2.64 Subject: Re: tcsh fix X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Nov 2004 17:50:08 -0000 On Fri, Nov 12, 2004 at 05:05:28PM +0100, Erik Trulsson wrote: > > This is to provide compatibility whn working with multiple versions of > > Unix. > > I write many scripts in sh on Solaris, and find they just don't work on > > Linux because /bin/sh on Linux is really /bin/bash and is not bacwards > > compatible. I HATE this. We shouldn't do this, and should do anything > > like this. > > Again - backwards compatible with what? Might it not be the case that > it is your scripts for Solaris-sh which uses non-standard features and > therefore fails on bash (which actually tends to be very > standards-compliant.) Indeed. Keep in mind that if you want a standard Bourne implementation on Solaris (or at least one that complies to POSIX.2a-1992), then you need to start your scripts with /usr/xpg4/bin/sh rather than /bin/sh. Given that it's easier (and shouldn't actually do any harm to the base OS) to commit the 44bsd csh as /bin/csh (or just simply remove the link for /bin/csh->/bin/tcsh) than continue to argue about this, would someone with a commit bit please make this thread go away? Paul