From owner-freebsd-current Mon Aug 14 08:37:24 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id IAA21694 for current-outgoing; Mon, 14 Aug 1995 08:37:24 -0700 Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.FreeBSD.org (8.6.11/8.6.6) with SMTP id IAA21687 for ; Mon, 14 Aug 1995 08:37:19 -0700 Received: by halloran-eldar.lcs.mit.edu; (5.65/1.1.3.6) id AA11245; Mon, 14 Aug 1995 11:35:35 -0400 Date: Mon, 14 Aug 1995 11:35:35 -0400 From: Garrett Wollman Message-Id: <9508141535.AA11245@halloran-eldar.lcs.mit.edu> To: Wolfram Schneider Cc: current@freebsd.org Subject: make(1) extension for SHELL COMMANDS In-Reply-To: <199508141513.RAA12434@caramba.cs.tu-berlin.de> References: <199508132144.XAA25996@localhost> <9508141504.AA11190@halloran-eldar.lcs.mit.edu> <199508141513.RAA12434@caramba.cs.tu-berlin.de> Sender: current-owner@freebsd.org Precedence: bulk < said: >> 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 `-'. > Note: the following example don't use /bin/sh in BSD make, our make > use execv(3) Well, that's yet another way in which pmake is broken with respect to POSIX. I'm not at all surprised to hear it. We don't need to make the situation even worse than it already is. -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant