Received: from SOUTH-STATION-ANNEX.MIT.EDU by po7.MIT.EDU (5.61/4.7) id AA08919; Fri, 29 Sep 95 16:15:46 EDT
Received: from freefall.FreeBSD.ORG by MIT.EDU with SMTP
	id AA27774; Fri, 29 Sep 95 16:15:13 EDT
Received: from localhost (daemon@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id NAA00345
          ; Fri, 29 Sep 1995 13:11:44 -0700
Received: (from root@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id NAA00209
          for hackers-outgoing; Fri, 29 Sep 1995 13:10:03 -0700
Received: from expo.x.org (expo.x.org [198.112.45.11])
          by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id NAA00204
          for <hackers@freefall.FreeBSD.org>; Fri, 29 Sep 1995 13:09:56 -0700
Received: from exalt.x.org by expo.x.org id AA18560; Fri, 29 Sep 95 16:09:23 -0400
Received: from localhost by exalt.x.org id QAA29806; Fri, 29 Sep 1995 16:09:22 -0400
Message-Id: <199509292009.QAA29806@exalt.x.org>
To: hackers@freefall.FreeBSD.org
Cc: gildea@x.org
Subject: /bin/sh thinks it's csh
Date: Fri, 29 Sep 1995 16:09:21 EST
From: "Kaleb S. KEITHLEY" <kaleb@x.org>
Sender: owner-hackers@FreeBSD.org
Precedence: bulk


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

Here's what happens on FreeBSD-2.1.0-950928-SNAP:


% sh -c 'echo $1' foo bar baz
foo
% csh -c 'echo $1' foo bar baz
foo

POSIX.2 Section 4.56.3 says everyone else is right, and FreeBSD is ...
not right.

Perhaps this ought to be fixed before 2.1.0 goes golden???

There are existing scripts that this will cause to break.

--

Kaleb KEITHLEY
