Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!floyd!cmcl2!rna!n44a!wjh12!vaxine!reg From: reg@vaxine.UUCP Newsgroups: net.unix-wizards Subject: An alternative to using #! Message-ID: <212@vaxine.UUCP> Date: Wed, 14-Mar-84 19:08:15 EST Article-I.D.: vaxine.212 Posted: Wed Mar 14 19:08:15 1984 Date-Received: Fri, 16-Mar-84 03:12:19 EST Lines: 24There has been an excessive amount of discussion recently about making sure that shell scripts are "automatically" executed by the correct shell. Along with this has gone a lot of chastising of the #! construct (which, as an aside, I happen to think is a nice feature and not at all inconsistent with the 407/410/413 magic number stuff exec(2) already did). If you are *really* upset with using #! or are worried that it won't work on every system, here is what you do: exec /bin/my-own-personal-shell-and-the-hell-with-everyone-else < EOF I believe you will find the "exec" intrinsic in both the Bourne shell and the C shell. (I don't know (nor care, but that is beside the point) about the Korn shell.) Can we change the topic, now that we have beaten this dead horse into sub-atomic particles? Rick Genter Automatix Inc. linus!vaxine!reg