From: utzoo!decvax!microsof!hanss Newsgroups: net.unix-wizards Title: blood curdling exec Article-I.D.: microsof.2559 Posted: Fri Oct 29 15:04:25 1982 Received: Sun Oct 31 01:08:55 1982 With appologies to dmr. Yes, I said it wrong again. the 4.1 '#! /bin/csh' syntax is in exec, not the shell! and they did document it, but in the page for exec(2), not the shell page. As the wise philosopher alluded to above put it: If theres a bug in the shell, fix the shell, dont hack the system to work around it. I admit that putting this function into the system makes it more efficient and allows you to implement any script muncher you may want as a filter, but it fixes the comment syntax of all such things. how about #! /bin/cc for example? No wonder the army likes BSD. They liked cobol and OS 360 too. Afraid to admit my alma mater -Hans UC Berkeley AB CS '78 decvax!microsoft!hanss