]> granicus.if.org Git - sudo/commitdiff
Update fixmdoc.sh to match the BSD -> .Bx changes in the manuals.
authorTodd C. Miller <Todd.Miller@sudo.ws>
Fri, 23 Nov 2018 13:42:23 +0000 (06:42 -0700)
committerTodd C. Miller <Todd.Miller@sudo.ws>
Fri, 23 Nov 2018 13:42:23 +0000 (06:42 -0700)
Bug #861

doc/fixmdoc.sh
doc/sudo.mdoc.in
doc/sudoers.mdoc.in

index 53bf64296270c00cc7eb19f49a123be63b5cfe89..a5c9b339920c1035fbaa9fa2e04f2df1a044089a 100755 (executable)
@@ -35,7 +35,7 @@ case "$OUTFILE" in
        if [ X"$BAMAN" != X"1" ]; then
                BA_FLAG='/^.*\n\.Op Fl a Ar type/{;N;/^.*\n\.Ek$/d;};'
                cat >>"$OUTFILE" <<-'EOF'
-                       /^\.It Fl a Ar type/,/BSD authentication\.$/d
+                       /^\.It Fl a Ar type/,/\.Bx authentication \.$/d
                EOF
        fi
 
@@ -44,11 +44,11 @@ case "$OUTFILE" in
        if [ X"$LCMAN" != X"1" ]; then
                LC_FLAG='/^.*\n\.Op Fl c Ar class/{;N;/^.*\n\.Ek$/d;};'
                cat >>"$OUTFILE" <<-'EOF'
-                       /^\.It Fl c Ar class/,/BSD login classes\.$/d
+                       /^\.It Fl c Ar class/,/\.Bx login classes \.$/d
                        /^\.Xr login_cap 3 ,$/d
-                       /^BSD login class$/ {
+                       /^\.Bx login class$/ {
                                N
-                               /^BSD login class\n\.It$/d
+                               /^\.Bx login class\n\.It$/d
                        }
                EOF
        fi
@@ -110,7 +110,7 @@ case "$OUTFILE" in
        # BSD login class
        if [ X"$LCMAN" != X"1" ]; then
                cat >>"$OUTFILE" <<-'EOF'
-                       /^On BSD systems/,/\.$/d
+                       /^\.No On Bx systems/,/\.$/d
                        /^\.It use_loginclass$/,/^by default\./d
                EOF
        fi
index 0de854e6f83e6ad29f02113ac92cdf1cbec4691d..e54959ad027b0efa1f3f3d9dc825c899862a2c39 100644 (file)
@@ -18,7 +18,7 @@
 .\" Agency (DARPA) and Air Force Research Laboratory, Air Force
 .\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
 .\"
-.Dd October 27, 2018
+.Dd November 23, 2018
 .Dt SUDO @mansectsu@
 .Os Sudo @PACKAGE_VERSION@
 .Sh NAME
@@ -173,8 +173,7 @@ If no askpass program is available,
 will exit with an error.
 .It Fl a Ar type , Fl -auth-type Ns = Ns Ar type
 Use the specified
-.Bx
-authentication
+.Bx authentication
 .Ar type
 when validating the user, if allowed by
 .Pa /etc/login.conf .
@@ -184,8 +183,7 @@ authentication methods by adding an
 entry in
 .Pa /etc/login.conf .
 This option is only available on systems that support
-.Bx
-authentication.
+.Bx authentication .
 .It Fl b , -background
 Run the given command in the background.
 Note that it is not possible to use shell job control to manipulate
@@ -234,8 +232,7 @@ If the command is being run as a login shell, additional
 settings, such as the umask and environment variables, will
 be applied, if present.
 This option is only available on systems with
-.Bx
-login classes.
+.Bx login classes .
 .It Fl E , -preserve-env
 Indicates to the security policy that the user wishes to
 preserve their existing environment variables.
@@ -658,7 +655,7 @@ Solaris project
 .It
 Solaris privileges
 .It
-.Bx No login class
+.Bx login class
 .It
 scheduling priority (aka nice value)
 .El
index 9414c68cbdce4cb67b5651448e353bf6b464e67d..3256193e314741212980afd5d61918f769eae97e 100644 (file)
@@ -18,7 +18,7 @@
 .\" Agency (DARPA) and Air Force Research Laboratory, Air Force
 .\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
 .\"
-.Dd October 27, 2018
+.Dd November 23, 2018
 .Dt SUDOERS @mansectform@
 .Os Sudo @PACKAGE_VERSION@
 .Sh NAME
@@ -282,9 +282,7 @@ systems without PAM), the environment is initialized with the
 contents of the
 .Pa /etc/environment
 file.
-On
-.Bx
-systems, if the
+.No On Bx systems , if the
 .Em use_loginclass
 option is enabled, the environment is initialized
 based on the
@@ -472,9 +470,7 @@ systems without PAM), the contents of
 .Pa /etc/environment
 are also
 included.
-On
-.Bx
-systems, if the
+.No On Bx systems , if the
 .Em use_loginclass
 flag is
 enabled, the