From 852fe25bc118e585e6df5407c1114a0b9a3558a2 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Thu, 1 Sep 2016 09:28:40 -0600 Subject: [PATCH] A comment character ('#') is only special at the beginning of the line. --- doc/sudoers.ldap.cat | 11 +++++------ doc/sudoers.ldap.man.in | 8 +++----- doc/sudoers.ldap.mdoc.in | 8 +++----- 3 files changed, 11 insertions(+), 16 deletions(-) diff --git a/doc/sudoers.ldap.cat b/doc/sudoers.ldap.cat index 587b62efd..6f70c061f 100644 --- a/doc/sudoers.ldap.cat +++ b/doc/sudoers.ldap.cat @@ -315,11 +315,10 @@ DDEESSCCRRIIPPTTIIOONN by ssuuddoo are honored. Configuration options are listed below in upper case but are parsed in a case-independent manner. - The pound sign (`#') is used to indicate a comment. Both the comment - character and any text after it, up to the end of the line, are ignored. - Long lines can be continued with a backslash (`\') as the last character - on the line. Note that leading white space is removed from the beginning - of lines even when the continuation character is used. + Lines beginning with a pound sign (`#') are ignored. Long lines can be + continued with a backslash (`\') as the last character on the line. Note + that leading white space is removed from the beginning of lines even when + the continuation character is used. BBIINNDD__TTIIMMEELLIIMMIITT _s_e_c_o_n_d_s The BBIINNDD__TTIIMMEELLIIMMIITT parameter specifies the amount of time, in @@ -907,4 +906,4 @@ DDIISSCCLLAAIIMMEERR file distributed with ssuuddoo or https://www.sudo.ws/license.html for complete details. -Sudo 1.8.18 June 15, 2016 Sudo 1.8.18 +Sudo 1.8.18 September 1, 2016 Sudo 1.8.18 diff --git a/doc/sudoers.ldap.man.in b/doc/sudoers.ldap.man.in index be31a6b34..8454d85ae 100644 --- a/doc/sudoers.ldap.man.in +++ b/doc/sudoers.ldap.man.in @@ -16,7 +16,7 @@ .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.TH "SUDOERS.LDAP" "5" "June 15, 2016" "Sudo @PACKAGE_VERSION@" "File Formats Manual" +.TH "SUDOERS.LDAP" "5" "September 1, 2016" "Sudo @PACKAGE_VERSION@" "File Formats Manual" .nh .if n .ad l .SH "NAME" @@ -559,11 +559,9 @@ are honored. Configuration options are listed below in upper case but are parsed in a case-independent manner. .PP -The pound sign +Lines beginning with a pound sign (\(oq#\(cq) -is used to indicate a comment. -Both the comment character and any text after it, up to the end of -the line, are ignored. +are ignored. Long lines can be continued with a backslash (\(oq\e\(cq) as the last character on the line. diff --git a/doc/sudoers.ldap.mdoc.in b/doc/sudoers.ldap.mdoc.in index b6da6e8a4..93613eb36 100644 --- a/doc/sudoers.ldap.mdoc.in +++ b/doc/sudoers.ldap.mdoc.in @@ -14,7 +14,7 @@ .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd June 15, 2016 +.Dd September 1, 2016 .Dt SUDOERS.LDAP @mansectform@ .Os Sudo @PACKAGE_VERSION@ .Sh NAME @@ -531,11 +531,9 @@ are honored. Configuration options are listed below in upper case but are parsed in a case-independent manner. .Pp -The pound sign +Lines beginning with a pound sign .Pq Ql # -is used to indicate a comment. -Both the comment character and any text after it, up to the end of -the line, are ignored. +are ignored. Long lines can be continued with a backslash .Pq Ql \e as the last character on the line. -- 2.40.0