/bin/sh feature?

Charles LaBrec crl at pur-phy.UUCP
Mon Jul 16 07:43:28 AEST 1984


The problem with using '#' as a comment character is that it is non-portable
to v7 (and earlier) systems (I'm not sure about Sys III/V).  In these, the
only way to add a comment is the ':' command (and using quotes to protect
the string).  A further peeve about '#' is that, at least on 4.2 BSD,
saying 'rm #*' doesn't work from the tty in sh since the '#' makes the
rest of the line be treated as a comment.  Csh does not allow '#' from 
the terminal.

Charles LaBrec
UUCP:		pur-ee!Physics:crl, purdue!Physics:crl
INTERNET:	crl @ pur-phy.UUCP



More information about the Comp.unix.wizards mailing list