Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83 (MC840302); site oce-rd1.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!mcvax!oce-rd1!pve From: pve@oce-rd1.UUCP (Paul Verhelst) Newsgroups: net.unix Subject: Failure to execute 'csh'-commands from 'make' Message-ID: <291@oce-rd1.UUCP> Date: Wed, 31-Jul-85 12:46:35 EDT Article-I.D.: oce-rd1.291 Posted: Wed Jul 31 12:46:35 1985 Date-Received: Fri, 2-Aug-85 21:50:57 EDT Organization: Oce R&D dept,Venlo,Holland Lines: 16 [] We are running 4.1BSD and find that 'make' fails to execute commands implemented as 'csh' command files; all command text files are passed to 'sh' instead. Command lines containing shell meta-characters are processed correctly, however; they are passed to 'sh' as a whole, so that 'sh' will invoke the correct command interpreter (based on the #-comment on the first line). My own solution to this problem is to put a semicolon after each command; this counts as a meta-character, so 'sh' will always get to parse the whole command line. Is this a bug or a feature (i.e. is it documented somewhere :-)? Paul Verhelst (...!mcvax!oce-rd1!pve)