From owner-freebsd-current Mon Aug 14 11:33:30 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id LAA11538 for current-outgoing; Mon, 14 Aug 1995 11:33:30 -0700 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.FreeBSD.org (8.6.11/8.6.6) with SMTP id LAA11519 for ; Mon, 14 Aug 1995 11:33:23 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de with SMTP (5.67b+/DEC-Ultrix/4.3) id AA18093; Mon, 14 Aug 1995 20:33:11 +0200 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id UAA18500 for current@freebsd.org; Mon, 14 Aug 1995 20:33:10 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.6.11/8.6.9) id UAA13684 for current@freebsd.org; Mon, 14 Aug 1995 20:10:28 +0200 From: J Wunsch Message-Id: <199508141810.UAA13684@uriah.heep.sax.de> Subject: Re: make(1) extension for SHELL COMMANDS To: current@freebsd.org Date: Mon, 14 Aug 1995 20:10:28 +0200 (MET DST) Reply-To: current@freebsd.org In-Reply-To: <9508141535.AA11245@halloran-eldar.lcs.mit.edu> from "Garrett Wollman" at Aug 14, 95 11:35:35 am Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) 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: 765 Sender: current-owner@freebsd.org Precedence: bulk As Garrett Wollman wrote: > > >> Very bad idea, and almost certainly contrary to P1003.2. > > > What says P1003.2 about /bin/sh? > > It's not what it says about the Bourne Shell that's relevant here, > it's what it says about the `make' program. In particular, it says > that all commands are to be executed by means of `/bin/sh -c'. It > almost certainly disallows use of any special characters other than > `@' and `-'. I don't like Wolfram's hack much (and have expressed him this in personal mail), but Garrett, be reminded that your described behaviour is only mandated if the Makefile begins with .POSIX. ;-) -- 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. ;-)