看板 FB_doc 關於我們 聯絡資訊
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. _______________________________________________ freebsd-doc@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-doc To unsubscribe, send any mail to "freebsd-doc-unsubscribe@freebsd.org"