Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.unix.questions Subject: Re: Why does this shell program run under csh???? Message-ID: <7124@mimsy.UUCP> Date: Thu, 18-Jun-87 12:43:47 EDT Article-I.D.: mimsy.7124 Posted: Thu Jun 18 12:43:47 1987 Date-Received: Sun, 21-Jun-87 14:56:49 EDT References: <7710@brl-adm.ARPA> <206@stc-auts.UUCP> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 13 In article <206@stc-auts.UUCP> kak@stc-auts.UUCP (Kris Kugel) writes: >Summary: software engineering and csh #! >I will just barely refrain from saying what I think about >a command language which uses comments as control structures. ? `#!' is interpreted by the *kernel*, not the C shell. The C shell ignores the comment. (Peeking at the first character of the script is done after exec() fails; #! ensures that exec() does not fail.) -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7690) Domain: chris@mimsy.umd.edu Path: seismo!mimsy!chris