From owner-freebsd-bugs Mon Aug 7 16:20:04 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id QAA06480 for bugs-outgoing; Mon, 7 Aug 1995 16:20:04 -0700 Received: (from gnats@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id QAA06473 ; Mon, 7 Aug 1995 16:20:03 -0700 Resent-Date: Mon, 7 Aug 1995 16:20:03 -0700 Resent-Message-Id: <199508072320.QAA06473@freefall.cdrom.com> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.cdrom.com, odiug@darkstar.informatik.rwth-aachen.de Received: from darkstar.informatik.rwth-aachen.de (darkstar.Informatik.RWTH-Aachen.DE [137.226.17.23]) by freefall.cdrom.com (8.6.11/8.6.6) with ESMTP id QAA06387 for ; Mon, 7 Aug 1995 16:18:06 -0700 Received: (from odiug@localhost) by darkstar.informatik.rwth-aachen.de (8.6.11/8.6.9) id BAA00302; Tue, 8 Aug 1995 01:18:31 +0200 Message-Id: <199508072318.BAA00302@darkstar.informatik.rwth-aachen.de> Date: Tue, 8 Aug 1995 01:18:31 +0200 From: Guido Muesch Reply-To: odiug@darkstar.informatik.rwth-aachen.de To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/660: /bin/sh has problem with redirection. Sender: bugs-owner@freebsd.org Precedence: bulk >Number: 660 >Category: bin >Synopsis: /bin/sh has problem with redirection. >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 7 16:20:00 PDT 1995 >Last-Modified: >Originator: Guido Muesch >Organization: RWTH-Aachen >Release: FreeBSD 2.0-BUILT-19950603 i386 >Environment: Freshly installed FreeBSD 2.0.5R >Description: /bin/sh has a problem when called from make with a line like: >foo You will get an error: Syntax error: end of file unexpected *** Error code 2 Stop. >How-To-Repeat: create a Makefile: -------------------- foo: >foo -------------------- then: $ make >Fix: I installed the pdksh and a stripped down version of the pdksh which is more or less a simple sh as /bin/sh. The pdksh also seems a lot smaller: -rwxr-xr-x 1 bin bin 217088 Jul 4 22:38 ksh lrwxr-xr-x 1 bin bin 3 Aug 8 01:16 sh -> ksh -r-xr-xr-x 1 bin bin 299008 Jun 10 11:48 sh.old >Audit-Trail: >Unformatted: >foo Syntax error: end of file unexpected make: *** [foo] Error 2