# comment character

Gilles Chartrand ggc at myriasb.UUCP
Mon Jun 24 06:37:26 AEST 1985


> 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



More information about the Comp.unix mailing list