Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Sep 1995 16:09:21 EST
From:      "Kaleb S. KEITHLEY" <kaleb@x.org>
To:        hackers@freefall.FreeBSD.org
Cc:        gildea@x.org
Subject:   /bin/sh thinks it's csh
Message-ID:  <199509292009.QAA29806@exalt.x.org>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199509292009.QAA29806>