docs/85103: sh(1) manpage doesn't contain the word "comment", etc.

Giorgos Keramidas keramida at ceid.upatras.gr
Fri Aug 19 13:00:34 UTC 2005


The following reply was made to PR docs/85103; it has been noted by GNATS.

From: Giorgos Keramidas <keramida at ceid.upatras.gr>
To: "Gary W. Swearingen" <garys at opusnet.com>
Cc: bug-followup at freebsd.org
Subject: Re: docs/85103: sh(1) manpage doesn't contain the word "comment", etc.
Date: Fri, 19 Aug 2005 15:52:06 +0300

 On 2005-08-18 17:41, "Gary W. Swearingen" <garys at opusnet.com> wrote:
 > The sh(1) manpage doesn't describe "#" comments or contain the
 > word "comment" for people searching for that.
 >
 > The "pdksh" manpage slips in this phrase:
 >
 >     #, if used at the beginning of a word, introduces a comment --
 >     everything after the # up to the nearest newline is ignored;
 >
 > but it should also say something about it not working interactively.
 
 It does work interactively too:
 
 % flame:/home/keramida$ env PS1='$ ' sh
 % $ echo foo # bar
 % foo
 % $
 
 But you're right we should add something about comments.
 



More information about the freebsd-doc mailing list