Date: Fri, 19 Aug 2005 13:00:33 GMT From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: freebsd-doc@FreeBSD.org Subject: Re: docs/85103: sh(1) manpage doesn't contain the word "comment", etc. Message-ID: <200508191300.j7JD0X31094746@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR docs/85103; it has been noted by GNATS. From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: "Gary W. Swearingen" <garys@opusnet.com> Cc: bug-followup@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@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508191300.j7JD0X31094746>