Failure to execute 'csh'-commands from 'make'

Paul Verhelst pve at oce-rd1.UUCP
Thu Aug 1 02:46:35 AEST 1985


[]

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)



More information about the Comp.unix mailing list