From f3aff7c91bd451d300ffd37ddce5a1fdbe802123 Mon Sep 17 00:00:00 2001 From: Benjamin Kaduk Date: Thu, 7 Dec 2017 01:57:27 +0000 Subject: [PATCH] Fix mandoc -Tlint warnings in bin/ Many style-level issues are still reported. Submitted by: Yuri Pankov Reviewed by: jilles (previous revision) Differential Revision: https://reviews.freebsd.org/D13334 --- bin/cat/cat.1 | 4 ++-- bin/date/date.1 | 3 ++- bin/kenv/kenv.1 | 16 +++++++++++----- bin/setfacl/setfacl.1 | 10 ++++++---- bin/sh/sh.1 | 2 +- 5 files changed, 22 insertions(+), 13 deletions(-) diff --git a/bin/cat/cat.1 b/bin/cat/cat.1 index d765621fd6b5..fd1f8c9730db 100644 --- a/bin/cat/cat.1 +++ b/bin/cat/cat.1 @@ -195,8 +195,8 @@ utility appeared in .At v1 . .An Dennis Ritchie designed and wrote the first man page. -It appears to have been -.Xr cat 1 . +It appears to have been for +.Nm . .Sh BUGS Because of the shell language mechanism used to perform output redirection, the command diff --git a/bin/date/date.1 b/bin/date/date.1 index 408791e250d0..e82935247ad2 100644 --- a/bin/date/date.1 +++ b/bin/date/date.1 @@ -131,7 +131,8 @@ The option suppresses this behavior and causes the time to be set only on the current machine. .It Fl R -Use RFC 2822 date and time output format. This is equivalent to use +Use RFC 2822 date and time output format. +This is equivalent to using .Dq Li %a, %d %b %Y \&%T %z as .Ar output_fmt diff --git a/bin/kenv/kenv.1 b/bin/kenv/kenv.1 index ac6e4b9b27d3..0010caf7b243 100644 --- a/bin/kenv/kenv.1 +++ b/bin/kenv/kenv.1 @@ -91,11 +91,17 @@ The file can contain lines of the form .Pp .Dl name = "value" # this is a comment .Pp -where whitespace around name and '=', and -everything after a '#' character, are ignored. Almost any printable -character except '=' is acceptable as part of a name. Quotes -are optional and necessary only if the value contains -whitespace. +where whitespace around +.Sq name +and +.Sq = , +and everything after a +.Sq # +character, are ignored. +Almost any printable character except +.Sq = +is acceptable as part of a name. +Quotes are optional and necessary only if the value contains whitespace. .Sh SEE ALSO .Xr kenv 2 , .Xr config 5 , diff --git a/bin/setfacl/setfacl.1 b/bin/setfacl/setfacl.1 index b581dc4046cd..7d9bf1e34356 100644 --- a/bin/setfacl/setfacl.1 +++ b/bin/setfacl/setfacl.1 @@ -114,7 +114,8 @@ is the input is taken from stdin. .It Fl n Do not recalculate the permissions associated with the ACL -mask entry. This option is not applicable to NFSv4 ACLs. +mask entry. +This option is not applicable to NFSv4 ACLs. .It Fl x Ar entries | position If .Ar entries @@ -291,7 +292,8 @@ specifying the access granted to the owner of the file; .Dq Li group@ specifying the access granted to the file owning group; .Dq Li everyone@ -specifying everyone. Note that +specifying everyone. +Note that .Dq Li everyone@ is not the same as traditional Unix .Dq Li other @@ -301,8 +303,8 @@ literally, everyone, including file owner and owning group. The ACL qualifier field describes the user or group associated with the ACL entry. It may consist of one of the following: uid or -user name, or gid or group name. In entries whose tag type is -one of +user name, or gid or group name. +In entries whose tag type is one of .Dq Li owner@ , .Dq Li group@ , or diff --git a/bin/sh/sh.1 b/bin/sh/sh.1 index 9163ad16dde4..98ec2f2c219b 100644 --- a/bin/sh/sh.1 +++ b/bin/sh/sh.1 @@ -1033,7 +1033,7 @@ The syntax of the command is: .Bd -unfilled -offset indent -compact .Ic case Ar word Ic in -.Ar pattern Ns ) Ar list Li ;; +.Ar pattern ) Ar list Li ;; .Ar ... .Ic esac .Ed