/bin/sh feature?

ted at usceast.UUCP ted at usceast.UUCP
Tue Jul 10 23:47:21 AEST 1984


<: a do nothing bug line>

>This points out the hazard of using ':' for a comment delimiter instead
>of '#'.  

>... I advise my shell programmers to use '#'
>as the comment delimiter.
>				Ben Goldfarb
>				{duke,decvax,princeton}!ucf-cs!goldfarb

Good advice, unless you have a fairly vanilla V7 or you are trying
to write portable shell scripts. In the original bourne shell the
# for comments did (does) not exist.
		
			Ted Nolan		..usceast!ted
-- 
--------------------------------------------------------------------------------
Ted Nolan                               ...decvax!mcnc!ncsu!ncrcae!usceast!ted
6536 Brookside Circle                   ...akgua!usceast!ted
Columbia, SC 29206                      ("Hid the bell with a blot, she did")
--------------------------------------------------------------------------------



More information about the Comp.unix.wizards mailing list