Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site myriasb.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!alberta!myriasb!ggc From: ggc@myriasb.UUCP (Gilles Chartrand) Newsgroups: net.unix Subject: Re: # comment character Message-ID: <417@myriasb.UUCP> Date: Sun, 23-Jun-85 16:37:26 EDT Article-I.D.: myriasb.417 Posted: Sun Jun 23 16:37:26 1985 Date-Received: Mon, 24-Jun-85 06:44:09 EDT References: <291@ucdavis.UUCP> Organization: Myrias Research, Edmonton Lines: 12 > Can anyone tell me why the # character is a comment in INTERACTIVE > mode in the shell? I mean, who goes around making comments that > will never be seen again while running the shell in interactive > mode? I think the general design of both csh and sh is that they work the same way reguardless of where the input is comming from (a file or a terminal). In UN*X, by the way, a terminal is a "special" file. That way a user doesn't have to learn to sets of conflicting rules. Gilles ...!alberta!myrias!ggc