Hi,

I'm just new to this stuff and can't figure it out.


I have a simple shell program with a for loop:

Contents of t.sh:

#!/bin/sh

for i in one two three; do echo "$i"; done



Now I have done the same thing in a make file:

Contents of t.mak:

#!/bin/sh

test:
        for i in one two three; do echo "$i"; done



So, the shell program works and echos out one two three.  The make file
echos out 3 blank lines.  Why?

If this matters, I'm running SUSE 10.0 with GNU Make 3.80


Thanks,
Ed.




_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to