Comment lines in the Bourne shell

jwp at uwmacc.UUCP jwp at uwmacc.UUCP
Mon Jun 10 09:09:36 AEST 1985


I've noticed that on my system (2.8BSD) the Bourne shell
comment character doesn't do what I expected.  The shell
still looks at some characters on the line, even though
the line is commented out.  For example, the comment

: to use this file type <name> | lpr

produces a message referring to the pipe, even though the whole
line is commented out.  What am I missing?

-- 
	Jeff Percival ...!uwvax!uwmacc!jwp



More information about the Comp.unix mailing list