From owner-freebsd-hackers Sun Oct 1 08:27:31 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA17495 for hackers-outgoing; Sun, 1 Oct 1995 08:27:31 -0700 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id IAA17488 for ; Sun, 1 Oct 1995 08:27:27 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id QAA24974; Sun, 1 Oct 1995 16:27:08 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id QAA27241; Sun, 1 Oct 1995 16:27:03 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id QAA17603; Sun, 1 Oct 1995 16:25:06 +0100 From: J Wunsch Message-Id: <199510011525.QAA17603@uriah.heep.sax.de> Subject: Re: /bin/sh thinks it's csh To: kaleb@x.org (Kaleb S. KEITHLEY) Date: Sun, 1 Oct 1995 16:25:03 +0100 (MET) Cc: hackers@freefall.freebsd.org, gildea@x.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199509292009.QAA29806@exalt.x.org> from "Kaleb S. KEITHLEY" at Sep 29, 95 04:09:21 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 435 Sender: owner-hackers@FreeBSD.org Precedence: bulk As Kaleb S. KEITHLEY wrote: > > > Here's what happens on any else's box: > > % sh -c 'echo $1' foo bar baz > bar > % csh -c 'echo $1' foo bar baz > foo > POSIX.2 Section 4.56.3 says everyone else is right, and FreeBSD is ... > not right. Fixed in revision 1.5 of sh/options.c. Thanks! -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)