From 5554ab143e0a10658100d5e870d8feccfbe8fc13 Mon Sep 17 00:00:00 2001 From: stefanf Date: Sun, 1 Jan 2006 16:02:12 +0000 Subject: [PATCH] Document that '#' starts a comment. PR: 85103 Submitted by: garys Obtained from: pdksh manual Patch from: Daniel Gerzo (with changes by me) --- bin/sh/sh.1 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bin/sh/sh.1 b/bin/sh/sh.1 index 6fa59ede50c..3c2fa9c356c 100644 --- a/bin/sh/sh.1 +++ b/bin/sh/sh.1 @@ -362,6 +362,13 @@ The following is a list of valid operators: .It Li <& Ta Li >& Ta Li <<- Ta Li >| .El .El +.Pp +The character +.Ql # +introduces a comment if used at the beginning of a word. +The word starting with +.Ql # +and the rest of the line are ignored. .Ss Quoting Quoting is used to remove the special meaning of certain characters or words to the shell, such as operators, whitespace, keywords, -- 2.45.0