From owner-freebsd-hackers Fri Sep 29 13:10:03 1995 Return-Path: owner-hackers 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 ; 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" 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