Path: utzoo!attcan!uunet!cs.utexas.edu!usc!rutgers!cmcl2!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.unix.questions Subject: Re: Problem with make Keywords: make for sysV Message-ID: <11169@smoke.BRL.MIL> Date: 28 Sep 89 04:07:01 GMT References: <715@bbking.KSP.Unisys.COM> Reply-To: gwyn@brl.arpa (Doug Gwyn) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 10 In article <715@bbking.KSP.Unisys.COM> bcarb@KSP.Unisys.COM (Brian Carb) writes: >test: > for i in 1 2 3 4; do echo "hello"; done >This always generates an error such as >Syntax error: do: command not found There's nothing wrong with that Makefile. (I.e. I tried it and it worked fine for me.) Perhaps you have the SHELL variable set to a bogus shell? (Check both the Makefile and the environment.)