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

看板FB_doc作者時間20年前 (2005/08/19 21:00), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/2 (看更多)
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"
文章代碼(AID): #131TVp00 (FB_doc)
文章代碼(AID): #131TVp00 (FB_doc)