puder (10/28/82)
There is already a standard for identifying scripts. #! /bin/csh as the first line of a file indicates that ccsshh should be given the file to interpret. #! /bin/sh analogously for sshh. One argument can be specified after the interpreter name, as in #! /bin/csh -f to prevent reading of .cshrc. I understand (though I have not tried it) that any "interpreter" can be specified in this way. I believe that this information is used by the eexxeecc system call.