--- /dev/null	Tue Feb  9 20:40:38 2021
+++ new/list	Tue Feb  9 20:40:38 2021
@@ -0,0 +1,29 @@
+alias		ksh removed
+bg		ksh removed
+cd		ksh removed
+cksum		-
+cmp		new options, converted to mandoc
+comm		converted to mandoc
+command
+cut		converted to mandoc, new options
+fc
+fg
+getopts
+hash
+jobs
+join
+kill
+paste
+print
+read
+rev		converted to mandoc
+sum
+tee		converted to mandoc
+test
+type
+ulimit
+umask
+unalias
+uniq
+wait
+wc
--- old/usr/src/man/man1/alias.1	Tue Feb  9 20:40:38 2021
+++ new/usr/src/man/man1/alias.1	Tue Feb  9 20:40:38 2021
@@ -44,13 +44,13 @@
 .\" Portions Copyright (c) 1992, X/Open Company Limited.  All Rights Reserved.
 .\" Portions Copyright (c) 1982-2007 AT&T Knowledge Ventures
 .\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved.
+.\" Copyright 2021 OmniOS Community Edition (OmniOSce) Association.
 .\"
-.TH ALIAS 1 "Apr 8, 2008"
+.TH ALIAS 1 "Feb 9, 2021"
 .SH NAME
 alias, unalias \- create or remove a pseudonym or shorthand for a command or
 series of commands
 .SH SYNOPSIS
-.LP
 .nf
 \fB/usr/bin/alias\fR [\fIalias-name\fR[= \fIstring\fR...]]
 .fi
@@ -66,7 +66,6 @@
 .fi
 
 .SS "\fBcsh\fR"
-.LP
 .nf
 \fBalias\fR [\fIname\fR [\fIdef\fR]]
 .fi
@@ -76,24 +75,7 @@
 \fBunalias\fR \fIpattern\fR
 .fi
 
-.SS "\fBksh\fR"
-.LP
-.nf
-\fBalias\fR [\fB-tx\fR] [\fIname\fR[= \fIvalue\fR]...]
-.fi
-
-.LP
-.nf
-\fBunalias\fR \fIname\fR...
-.fi
-
-.LP
-.nf
-\fBunalias\fR [\fB-a\fR]
-.fi
-
 .SS "\fBksh93\fR"
-.LP
 .nf
 \fBalias\fR [\fB-ptx\fR] [\fIname\fR[= \fIvalue\fR]...]
 .fi
@@ -104,14 +86,10 @@
 .fi
 
 .SH DESCRIPTION
-.sp
-.LP
 The \fBalias\fR and \fBunalias\fR utilities create or remove a pseudonym or
 shorthand term for a command or series of commands, with different
 functionality in the C-shell and Korn shell environments.
 .SS "\fB/usr/bin/alias\fR"
-.sp
-.LP
 The \fBalias\fR utility creates or redefines alias definitions or writes the
 values of existing alias definitions to standard output. An alias definition
 provides a string value that replaces a command name when it is encountered.
@@ -122,15 +100,11 @@
 specified by this document, the alias definition does not affect the parent
 process of the current shell nor any utility environment invoked by the shell.
 .SS "\fB/usr/bin/unalias\fR"
-.sp
-.LP
 The \fBunalias\fR utility removes the definition for each alias name specified.
 The aliases are removed from the current shell execution environment. The
 \fB-a\fR option removes all alias definitions from the current execution
 environment.
 .SS "\fBcsh\fR"
-.sp
-.LP
 \fBalias\fR assigns \fIdef\fR to the alias \fIname\fR. The assigned \fIdef\fR
 is a list of words that can contain escaped history-substitution metasyntax.
 \fIname\fR is not allowed to be \fBalias\fR or \fBunalias\fR. If \fIdef\fR is
@@ -144,29 +118,7 @@
 .LP
 \fBunalias\fR discards aliases that match (filename substitution)
 \fIpattern\fR. All aliases can be removed by `\fBunalias *\fR'.
-.SS "\fBksh\fR"
-.sp
-.LP
-\fBalias\fR with no arguments prints the list of aliases in the form
-\fIname=value\fR on standard output. An \fBalias\fR is defined for each name
-whose \fIvalue\fR is specified. A trailing space in \fIvalue\fR causes the next
-word to be checked for alias substitution. The \fB-t\fR flag is used to set and
-list tracked aliases. The value of a tracked alias is the full pathname
-corresponding to the specified \fIname\fR. The value becomes undefined when the
-value of \fBPATH\fR is reset but the aliases remained tracked. Without the
-\fB-t\fR flag, for each \fIname\fR in the argument list for which no
-\fIvalue\fR is specified, the name and value of the alias is printed. The
-\fB-x\fR flag is used to set or print \fIexported alias\fRes. An exported alias
-is defined for scripts invoked by \fIname\fR. The exit status is non-zero if a
-\fIname\fR is specified, but no value, and no alias has been defined for the
-\fIname\fR.
-.sp
-.LP
-The \fBalias\fRs specified by the list of \fIname\fRs can be removed from the
-\fBalias\fR list with \fBunalias\fR.
 .SS "\fBksh93\fR"
-.sp
-.LP
 \fBalias\fR creates or redefines alias definitions or writes the existing alias
 definitions to standard output.
 .sp
@@ -195,8 +147,6 @@
 execution environment, or all aliases if \fB-a\fR is specified. It does not
 affect any commands that have already been read and subsequently executed.
 .SH OPTIONS
-.sp
-.LP
 The following option is supported by \fBunalias\fR:
 .sp
 .ne 2
@@ -207,22 +157,7 @@
 Removes all alias definitions from the current shell execution environment.
 .RE
 
-.SS "\fBksh\fR"
-.sp
-.LP
-The following option is supported by \fBalias\fR:
-.sp
-.ne 2
-.na
-\fB\fB-t\fR\fR
-.ad
-.RS 6n
-Sets and lists tracked aliases.
-.RE
-
 .SS "\fBksh93\fR"
-.sp
-.LP
 The following options are supported by \fBalias\fR:
 .sp
 .ne 2
@@ -270,11 +205,8 @@
 .RE
 
 .SH OPERANDS
-.sp
-.LP
 The following operands are supported:
 .SS "\fBalias\fR"
-.sp
 .ne 2
 .na
 \fB\fIalias-name\fR\fR
@@ -284,7 +216,6 @@
 .RE
 
 .SS "\fBunalias\fR"
-.sp
 .ne 2
 .na
 \fB\fIalias-name\fR\fR
@@ -307,8 +238,6 @@
 If no operands are specified, all alias definitions are written to standard
 output.
 .SH OUTPUT
-.sp
-.LP
 The format for displaying aliases (when no operands or only \fIname\fR operands
 are specified) is:
 .sp
@@ -324,7 +253,6 @@
 The \fIvalue\fR string is written with appropriate quoting so that it is
 suitable for reinput to the shell.
 .SH EXAMPLES
-.LP
 \fBExample 1 \fRModifying a Command's Output
 .sp
 .LP
@@ -385,14 +313,10 @@
 .sp
 
 .SH ENVIRONMENT VARIABLES
-.sp
-.LP
 See \fBenviron\fR(5) for descriptions of the following environment variables
 that affect the execution of \fBalias\fR and \fBunalias\fR: \fBLANG\fR,
 \fBLC_ALL\fR, \fBLC_CTYPE\fR, \fBLC_MESSAGES\fR, and \fBNLSPATH\fR.
 .SH EXIT STATUS
-.sp
-.LP
 The following exit values are returned:
 .sp
 .ne 2
@@ -404,7 +328,6 @@
 .RE
 
 .SS "\fBalias\fR"
-.sp
 .ne 2
 .na
 \fB\fB>0\fR\fR
@@ -415,7 +338,6 @@
 .RE
 
 .SS "\fBunalias\fR"
-.sp
 .ne 2
 .na
 \fB\fB>0\fR\fR
@@ -426,13 +348,8 @@
 .RE
 
 .SH ATTRIBUTES
-.sp
-.LP
 See \fBattributes\fR(5) for descriptions of the following attributes:
 .SS "\fBcsh, ksh\fR"
-.sp
-
-.sp
 .TS
 box;
 c | c
@@ -445,9 +362,6 @@
 .TE
 
 .SS "\fBksh93\fR"
-.sp
-
-.sp
 .TS
 box;
 c | c
@@ -458,7 +372,5 @@
 .TE
 
 .SH SEE ALSO
-.sp
-.LP
 \fBcsh\fR(1), \fBksh\fR(1), \fBksh93\fR(1), \fBshell_builtins\fR(1),
 \fBattributes\fR(5), \fBenviron\fR(5), \fBstandards\fR(5)
--- old/usr/src/man/man1/cd.1	Tue Feb  9 20:40:38 2021
+++ new/usr/src/man/man1/cd.1	Tue Feb  9 20:40:38 2021
@@ -44,29 +44,17 @@
 .\" Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved
 .\" Portions Copyright (c) 1982-2007 AT&T Knowledge Ventures
 .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved
+.\" Copyright 2021 OmniOS Community Edition (OmniOSce) Association.
 .\"
-.TH CD 1 "Apr 8, 2008"
+.TH CD 1 "Feb 9, 2021"
 .SH NAME
 cd, chdir, pushd, popd, dirs \- change working directory
 .SH SYNOPSIS
-.LP
 .nf
 \fB/usr/bin/cd\fR [\fIdirectory\fR]
 .fi
 
-.SS "sh"
-.LP
-.nf
-\fBcd\fR [\fIargument\fR]
-.fi
-
-.LP
-.nf
-\fBchdir\fR [\fIargument\fR]
-.fi
-
 .SS "csh"
-.LP
 .nf
 \fBcd\fR [\fIdir\fR]
 .fi
@@ -91,8 +79,7 @@
 \fBdirs\fR [\fB-l\fR]
 .fi
 
-.SS "ksh, ksh93"
-.LP
+.SS "ksh93"
 .nf
 \fBcd\fR [\fB-L\fR] [\fB-P\fR] [\fIarg\fR]
 .fi
@@ -104,36 +91,12 @@
 
 .SH DESCRIPTION
 .SS "/usr/bin/cd"
-.sp
-.LP
 The \fB/usr/bin/cd\fR utility changes the current directory in the context of
 the \fBcd\fR utility only. This is in contrast to the version built into the
 shell. \fB/usr/bin/cd\fR has no effect on the invoking process but can be used
 to determine whether or not a given directory can be set as the current
 directory.
-.SS "sh"
-.sp
-.LP
-The Bourne shell built-in \fBcd\fR changes the current directory to
-\fIargument\fR. The shell parameter \fBHOME\fR is the default \fIargument\fR.
-The shell parameter \fBCDPATH\fR defines the search path for the directory
-containing \fIargument\fR. Alternative directory names are separated by a colon
-(\fB:\fR). The default path is \fB<null>\fR (specifying the current directory).
-The current directory is specified by a null path name, which can appear
-immediately after the equal sign or between the colon delimiters anywhere else
-in the path list. If \fIargument\fR begins with `\fB/\fR', `\fB\&.\fR', or
-`\fB\&.\|.\fR', the search path is not used. Otherwise, each directory in the
-path is searched for \fIargument\fR. \fBcd\fR must have execute (search)
-permission in \fIargument\fR. Because a new process is created to execute each
-command, \fBcd\fR would be ineffective if it were written as a normal command;
-therefore, it is recognized by and is internal to the shell. (See \fBpwd\fR(1),
-\fBsh\fR(1), and \fBchdir\fR(2)).
-.sp
-.LP
-\fBchdir\fR is just another way to call \fBcd\fR.
 .SS "csh"
-.sp
-.LP
 If \fIdir\fR is not specified, the C shell built-in \fBcd\fR uses the value of
 shell parameter \fBHOME\fR as the new working directory. If \fIdir\fR specifies
 a complete path starting with `\fB/\fR', `\fB\&.\fR', or `\fB\&.\|.\fR',
@@ -160,7 +123,7 @@
 .sp
 .ne 2
 .na
-\fB\fB+\fR\fIn\fR\fR
+\fB+\fR\fIn\fR
 .ad
 .RS 7n
 Rotate the \fIn\fR'th entry to the top of the stack and \fBcd\fR to it.
@@ -169,7 +132,7 @@
 .sp
 .ne 2
 .na
-\fB\fIdir\fR\fR
+\fB\fIdir\fR
 .ad
 .RS 7n
 Push the current working directory onto the stack and change to \fIdir\fR.
@@ -182,7 +145,7 @@
 .sp
 .ne 2
 .na
-\fB\fB+\fR\fIn\fR\fR
+\fB+\fR\fIn\fR
 .ad
 .RS 6n
 Discard the \fIn\fR'th entry in the stack.
@@ -193,9 +156,7 @@
 \fBdirs\fR prints the directory stack, most recent to the left; the first
 directory shown is the current directory. With the \fB-l\fR argument, produce
 an unabbreviated printout; use of the \fB~\fR notation is suppressed.
-.SS "ksh, ksh93"
-.sp
-.LP
+.SS "ksh93"
 The Korn shell built-in \fBcd\fR command can be in either of two forms. In the
 first form it changes the current directory to \fIarg\fR. If \fIarg\fR is
 \fB\(mi\fR the directory is changed to the previous directory. The shell
@@ -217,7 +178,7 @@
 .sp
 .ne 2
 .na
-\fB\fB-L\fR\fR
+\fB-L\fR
 .ad
 .RS 6n
 Handles the operation dot-dot (\fB\&..\fR) logically. Symbolic link components
@@ -227,7 +188,7 @@
 .sp
 .ne 2
 .na
-\fB\fB-P\fR\fR
+\fB-P\fR
 .ad
 .RS 6n
 Handles the operand dot-dot physically. Symbolic link components \fBare\fR
@@ -249,15 +210,13 @@
 The \fBcd\fR command cannot be executed by \fBrksh\fR. Because a new process is
 created to execute each command, \fBcd\fR would be ineffective if it were
 written as a normal command; therefore, it is recognized by and is internal to
-the Korn shell. (See \fBpwd\fR(1), \fBsh\fR(1), and \fBchdir\fR(2)).
+the Korn shell. (See \fBpwd\fR(1), \fBksh93\fR(1), and \fBchdir\fR(2)).
 .SH OPERANDS
-.sp
-.LP
 The following operands are supported:
 .sp
 .ne 2
 .na
-\fB\fIdirectory\fR\fR
+\fB\fIdirectory\fR
 .ad
 .RS 13n
 An absolute or relative pathname of the directory that becomes the new working
@@ -266,8 +225,6 @@
 .RE
 
 .SH OUTPUT
-.sp
-.LP
 If a non-empty directory name from \fBCDPATH\fR is used, an absolute pathname
 of the new working directory is written to the standard output as follows:
 .sp
@@ -277,8 +234,6 @@
 .LP
 Otherwise, there is no output.
 .SH ENVIRONMENT VARIABLES
-.sp
-.LP
 See \fBenviron\fR(5) for descriptions of the following environment variables
 that affect the execution of \fBcd\fR: \fBLANG\fR, \fBLC_ALL\fR,
 \fBLC_CTYPE\fR, \fBLC_MESSAGES\fR, and \fBNLSPATH\fR.
@@ -285,7 +240,7 @@
 .sp
 .ne 2
 .na
-\fB\fBCDPATH\fR\fR
+\fBCDPATH\fR
 .ad
 .RS 10n
 A colon-separated list of pathnames that refer to directories. If the
@@ -301,7 +256,7 @@
 .sp
 .ne 2
 .na
-\fB\fBHOME\fR\fR
+\fBHOME\fR
 .ad
 .RS 10n
 The name of the home directory, used when no \fIdirectory\fR operand is
@@ -311,7 +266,7 @@
 .sp
 .ne 2
 .na
-\fB\fBOLDPWD\fR\fR
+\fBOLDPWD\fR
 .ad
 .RS 10n
 A pathname of the previous working directory, used by \fBcd-\fR.
@@ -320,7 +275,7 @@
 .sp
 .ne 2
 .na
-\fB\fBPWD\fR\fR
+\fBPWD\fR
 .ad
 .RS 10n
 A pathname of the current working directory, set by \fBcd\fR after it has
@@ -328,13 +283,11 @@
 .RE
 
 .SH EXIT STATUS
-.sp
-.LP
 The following exit values are returned by \fBcd\fR:
 .sp
 .ne 2
 .na
-\fB\fB0\fR\fR
+\fB0\fR
 .ad
 .RS 6n
 The directory was successfully changed.
@@ -343,7 +296,7 @@
 .sp
 .ne 2
 .na
-\fB\fB>0\fR\fR
+\fB>0\fR
 .ad
 .RS 6n
 An error occurred.
@@ -350,13 +303,8 @@
 .RE
 
 .SH ATTRIBUTES
-.sp
-.LP
 See \fBattributes\fR(5) for descriptions of the following attributes:
-.SS "csh, ksh, sh"
-.sp
-
-.sp
+.SS "csh"
 .TS
 box;
 c | c
@@ -369,9 +317,6 @@
 .TE
 
 .SS "ksh93"
-.sp
-
-.sp
 .TS
 box;
 c | c
@@ -382,7 +327,5 @@
 .TE
 
 .SH SEE ALSO
-.sp
-.LP
-\fBcsh\fR(1), \fBksh\fR(1), \fBksh93\fR(1), \fBpwd\fR(1), \fBsh\fR(1),
+\fBcsh\fR(1), \fBksh93\fR(1), \fBpwd\fR(1),
 \fBchdir\fR(2), \fBattributes\fR(5), \fBenviron\fR(5), \fBstandards\fR(5)
--- old/usr/src/man/man1/cmp.1	Tue Feb  9 20:40:39 2021
+++ new/usr/src/man/man1/cmp.1	Tue Feb  9 20:40:39 2021
@@ -1,4 +1,3 @@
-.\"
 .\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for
 .\" permission to reproduce portions of its copyrighted documentation.
 .\" Original documentation from The Open Group can be obtained online at
@@ -43,161 +42,216 @@
 .\" Copyright 1989 AT&T
 .\" Portions Copyright (c) 1992, X/Open Company Limited  All Rights Reserved
 .\" Copyright (c) 2006, Sun Microsystems, Inc.  All Rights Reserved.
+.\" Copyright 2021 OmniOS Community Edition (OmniOSce) Association.
 .\"
-.TH CMP 1 "Jul 19, 2006"
-.SH NAME
-cmp \- compare two files
-.SH SYNOPSIS
-.LP
-.nf
-\fBcmp\fR [\fB-l\fR | \fB-s\fR] \fIfile1\fR \fIfile2\fR [\fIskip1\fR] [\fIskip2\fR]
-.fi
-
-.SH DESCRIPTION
-.sp
-.LP
-The \fBcmp\fR utility compares two files. \fBcmp\fR writes no output if the
-files are the same. Under default options, if they differ, it writes to
-standard output the byte and line numbers at which the first difference
-occurred. Bytes and lines are numbered beginning with 1. If one file is an
-initial subsequence of the other, that fact is noted. \fIskip1\fR and
-\fIskip2\fR are initial byte offsets into \fIfile1\fR and \fIfile2\fR
-respectively, and can be either octal or decimal. A leading 0 denotes octal.
-.SH OPTIONS
-.sp
-.LP
+.Dd Feb 9, 2021
+.Dt CMP 1
+.Os
+.Sh NAME
+.Nm cmp
+.Nd compare two files
+.Sh SYNOPSIS
+.Nm
+.Op Fl bcdilns
+.Ar file1 file2
+.Op Ar skip1 Op Ar skip2
+.Sh DESCRIPTION
+The
+.Nm
+utility compares two files.
+.Nm
+writes no output if the files are the same.
+Under default options, if they differ, it writes to standard output the byte
+and line numbers at which the first difference occurred.
+Bytes and lines are numbered beginning with 1.
+.Ar skip1
+and
+.Ar skip2
+are initial byte offsets into
+.Ar file1
+and
+.Ar file2
+respectively, and are specified in bytes or can be given with a suffix of
+.Cm k
+for kilobytes or
+.Cm m
+for megabytes.
+.Lp
+If either
+.Ar file1
+or
+.Ar file2
+is a dash
+.Pq Ar \(mi ,
+.Nm
+uses standard input starting at the current location.
+.Sh OPTIONS
 The following options are supported:
-.sp
-.ne 2
-.na
-\fB\fB-l\fR\fR
-.ad
-.RS 6n
+.Bl -tag -width Ar
+.It Fl b Ns \&, Fl \-print-bytes
+Print differing bytes as 3-digit octal values.
+.It Fl c Ns \&, Fl \-print-chars
+Print differing bytes as follows:
+.Bl -bullet -width Ds
+.It
+non-space printable characters as themselves;
+.It
+space and control characters as
+.Em ^
+followed by a letter of the alphabet;
+.It
+characters with the high bit set as the lower 7-bit character prefixed by
+.Em M^
+for 7-bit space and non-printable characters, and
+.Em M-
+for all other characters.
+If the 7-bit character encoding is not ASCII then the characters are converted
+to ASCII to determine whether the high bit is set and, if set, it is cleared
+and converted back to the native encoding.
+Multibyte characters in the current locale are treated as printable characters.
+.El
+.It Fl d Ar differences Ns \&, Fl \-differences Ns = Ns Ar differences
+Print at most
+.Ar differences
+differences using
+.Fl l
+.Pq Fl -verbose
+output format.
+If
+.Ar differences
+is
+.Cm 0
+then this is equivalent to passing the
+.Fl s
+or
+.Fl \-silent
+option.
+.It Fl i Ar skip1 Ns Op : Ns Ar skip2 Ns \&, Fl -skip Ns = Ns Ar skip1 Ns Op : Ns Ar skip2 Ns \&, Fl -ignore-initial Ns = Ns Ar skip1 Ns Op : Ns Ar skip2
+Skip the first
+.Ar skip1
+bytes in
+.Ar file1
+and the first
+.Ar skip2
+bytes in
+.Ar file2 .
+If
+.Ar skip2
+is omitted then
+.Ar skip1
+is used for that value.
+The default value is
+.Ar 0:0 .
+.It Fl l Ns \&, Fl \-verbose
 Write the byte number (decimal) and the differing bytes (octal) for each
 difference.
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fB-s\fR\fR
-.ad
-.RS 6n
-Write nothing for differing files. Return exit status only.
-.RE
-
-.SH OPERANDS
-.sp
-.LP
+.It Fl n Ar count Ns \&, Fl \-count Ns = Ns Ar count Ns \&, Fl \-bytes Ns = Ns Ar count
+Compare at most
+.Ar count
+bytes.
+.It Fl s Ns \&, Fl \-silent \&, Fl \-quiet
+Write nothing for differing files.
+Return exit status only.
+.El
+.Sh OPERANDS
 The following operands are supported:
-.sp
-.ne 2
-.na
-\fB\fIfile1\fR\fR
-.ad
-.RS 9n
-A path name of the first file to be compared. If \fIfile1\fR is \fB\(mi\fR, the
-standard input is used.
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fIfile2\fR\fR
-.ad
-.RS 9n
-A path name of the second file to be compared. If \fIfile2\fR is \fB\(mi\fR,
+.Bl -tag -width Ar
+.It Ar file1
+A path name of the first file to be compared.
+If
+.Ar file1
+is
+.Ar \(mi ,
 the standard input is used.
-.RE
-
-.sp
-.LP
-If both \fIfile1\fR and \fIfile2\fR refer to standard input or refer to the
-same \fBFIFO\fR special, block special or character special file, an error
-results.
-.SH USAGE
-.sp
-.LP
-See \fBlargefile\fR(5) for the description of the behavior of \fBcmp\fR when
-encountering files greater than or equal to 2 Gbyte (2^31 bytes).
-.SH EXAMPLES
-.LP
-\fBExample 1 \fRComparing Files Byte for Byte
-.sp
-.LP
-The following example does a byte for byte comparison of \fIfile1\fR and
-\fIfile2\fR:
-
-.sp
-.in +2
-.nf
-example% \fBcmp file1 file2 0 1024\fR
-.fi
-.in -2
-.sp
-
-.sp
-.LP
-It skips the first 1024 bytes in \fIfile2\fR before starting the comparison.
-
-.SH ENVIRONMENT VARIABLES
-.sp
-.LP
-See \fBenviron\fR(5) for descriptions of the following environment variables
-that affect the execution of \fBcmp\fR: \fBLANG\fR, \fBLC_ALL\fR,
-\fBLC_CTYPE\fR, \fBLC_MESSAGES\fR, and \fBNLSPATH\fR.
-.SH EXIT STATUS
-.sp
-.LP
-The following error values are returned:
-.sp
-.ne 2
-.na
-\fB\fB0\fR\fR
-.ad
-.RS 6n
-The files are identical.
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fB1\fR\fR
-.ad
-.RS 6n
-The files are different. This includes the case where one file is identical to
-the first part of the other.
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fB>1\fR\fR
-.ad
-.RS 6n
-An error occurred.
-.RE
-
-.SH ATTRIBUTES
-.sp
-.LP
-See \fBattributes\fR(5) for descriptions of the following attributes:
-.sp
-
-.sp
-.TS
-box;
-c | c
-l | l .
-ATTRIBUTE TYPE	ATTRIBUTE VALUE
-_
-CSI	Enabled
-_
-Interface Stability	Standard
-.TE
-
-.SH SEE ALSO
-.sp
-.LP
-\fBcomm\fR(1), \fBdiff\fR(1), \fBattributes\fR(5), \fBenviron\fR(5),
-\fBlargefile\fR(5), \fBstandards\fR(5)
+.It Ar file2
+A path name of the second file to be compared.
+If
+.Ar file2
+is
+.Ar \(mi ,
+the standard input is used.
+.It Ar skip1
+The number of initial bytes from
+.Ar file1
+to skip before beginning the comparison.
+.It Ar skip2
+The number of initial bytes from
+.Ar file2
+to skip before beginning the comparison.
+If
+.Ar skip1
+is specified but
+.Ar skip2
+is not, then the value of
+.Ar skip1
+is also implicitly used for
+.Ar skip2 .
+.El
+.Pp
+If both
+.Ar file1
+and
+.Ar file2
+refer to standard input or refer to the same FIFO, block or character special
+file, an error results.
+.Pp
+.Ar skip
+values are specified in bytes, or can be suffixed with
+.Cm k
+.Pq for kilobytes
+or
+.Cm m
+.Pq for megabytes.
+.Sh EXIT STATUS
+The following exit values are returned:
+.Bl -tag -width Ds
+.It Sy 0
+The files or portions compared are identical.
+.It Sy 1
+The files or portions compared are different.
+.It Sy >1
+An error ocurred.
+.El
+.Sh EXAMPLES
+.Bl -tag -width Ds
+.It Sy Example 1 No Comparing Files Byte for Byte
+The following example does a byte for byte comparison of
+.Ar file1
+and
+.Ar file2 ,
+skipping the first 1024 bytes in
+.Ar file2
+before starting the comparison.
+.Bd -literal
+$ cmp file1 file2 0 1024
+.Ed
+.El
+.Sh ENVIRONMENT VARIABLES
+See
+.Xr environ 5
+for descriptions of the following environment variables
+that affect the execution of
+.Nm :
+.Ev LANG ,
+.Ev LC_ALL ,
+.Ev LC_TYPE ,
+.Ev LC_MESSAGES ,
+.Ev LC_NUMERIC ,
+and
+.Ev NLSPATH .
+.Sh INTERFACE STABILITY
+The command line interface of
+.Nm
+is
+.Sy Committed .
+The output of
+.Nm
+is
+.Sy Standard .
+.Sh SEE ALSO
+.Xr comm 1 ,
+.Xr diff 1 ,
+.Xr attributes 5 ,
+.Xr environ 5 ,
+.Xr largefile 5 ,
+.Xr standards 5
--- old/usr/src/man/man1/comm.1	Tue Feb  9 20:40:39 2021
+++ new/usr/src/man/man1/comm.1	Tue Feb  9 20:40:39 2021
@@ -43,182 +43,155 @@
 .\" Copyright 1989 AT&T
 .\" Portions Copyright (c) 1992, X/Open Company Limited.  All Rights Reserved.
 .\" Copyright (c) 2004, Sun Microsystems, Inc.  All Rights Reserved.
-.\"
-.TH COMM 1 "Mar 3, 2004"
-.SH NAME
-comm \- select or reject lines common to two files
-.SH SYNOPSIS
-.LP
-.nf
-\fBcomm\fR [\fB-123\fR] \fIfile1\fR \fIfile2\fR
-.fi
-
-.SH DESCRIPTION
-.sp
-.LP
-The \fBcomm\fR utility reads \fIfile1\fR and \fIfile2\fR, which must be ordered
-in the current collating sequence, and produces three text columns as output:
-lines only in \fIfile1\fR; lines only in \fIfile2\fR; and lines in both files.
-.sp
-.LP
+.\" Copyright 2021 OmniOS Community Edition (OmniOSce) Association.
+.Dd Feb 9, 2021
+.Dt COMM 1
+.Os
+.Sh NAME
+.Nm comm
+.Nd select or reject lines common to two files
+.Sh SYNOPSIS
+.Nm
+.Op Fl 123
+.Ar file1 file2
+.Sh DESCRIPTION
+The
+.Nm
+utility reads
+.Ar file1
+and
+.Ar file2 ,
+which must be ordered in the current collating sequence, and produces three
+text columns as output:
+.Bl -bullet -offset Ds
+.It
+lines only in
+.Ar file1 ;
+.It
+lines only in
+.Ar file2 ;
+.It
+lines in both files.
+.El
+.Pp
 If the input files were ordered according to the collating sequence of the
 current locale, the lines written will be in the collating sequence of the
-original lines. If not, the results are unspecified.
-.SH OPTIONS
-.sp
-.LP
+original lines.
+If not, the results are unspecified.
+.Pp
+If either
+.Ar file1
+or
+.Ar file2
+is
+.Ar \(mi ,
+.Nm
+uses standard input starting at the current location.
+.Sh OPTIONS
 The following options are supported:
-.sp
-.ne 2
-.na
-\fB\fB-1\fR\fR
-.ad
-.RS 6n
-Suppresses the output column of lines unique to \fIfile1\fR.
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fB-2\fR\fR
-.ad
-.RS 6n
-Suppresses the output column of lines unique to \fIfile2\fR.
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fB-3\fR\fR
-.ad
-.RS 6n
-Suppresses the output column of lines duplicated in \fIfile1\fR and
-\fIfile2\fR.
-.RE
-
-.SH OPERANDS
-.sp
-.LP
+.Bl -tag -width Ar
+.It Fl 1
+Suppresses the output column of lines unique to
+.Ar file1 .
+.It Fl 2
+Suppresses the output column of lines unique to
+.Ar file2 .
+.It Fl 3
+Suppresses the output column of lines common to both
+.Ar file1
+and
+.Ar file2 .
+.El
+.Sh OPERANDS
 The following operands are supported:
-.sp
-.ne 2
-.na
-\fB\fIfile1\fR\fR
-.ad
-.RS 9n
-A path name of the first file to be compared. If \fIfile1\fR is \fB\(mi\fR, the
-standard input is used.
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fIfile2\fR\fR
-.ad
-.RS 9n
-A path name of the second file to be compared. If \fIfile2\fR is \fB\(mi\fR,
+.Bl -tag -width Ar
+.It Ar file1
+A path name of the first file to be compared.
+If
+.Ar file1
+is
+.Em \(mi ,
 the standard input is used.
-.RE
-
-.SH USAGE
-.sp
-.LP
-See \fBlargefile\fR(5) for the description of the behavior of \fBcomm\fR when
-encountering files greater than or equal to 2 Gbyte ( 2^31 bytes).
-.SH EXAMPLES
-.LP
-\fBExample 1 \fRPrinting a list of utilities specified by files
-.sp
-.LP
-If \fIfile1\fR, \fIfile2\fR, and \fIfile3\fR each contain a sorted list of
-utilities, the command
-
-.sp
-.in +2
-.nf
-example% \fBcomm -23 file1 file2  | comm -23 - file3\fR
-.fi
-.in -2
-.sp
-
-.sp
-.LP
-prints a list of utilities in \fIfile1\fR not specified by either of the other
-files. The entry:
-
-.sp
-.in +2
-.nf
-example% \fBcomm -12 file1 file2 | comm -12 - file3\fR
-.fi
-.in -2
-.sp
-
-.sp
-.LP
-prints a list of utilities specified by all three files. And the entry:
-
-.sp
-.in +2
-.nf
-example% \fBcomm -12  file2 file3 | comm -23 -file1\fR
-.fi
-.in -2
-.sp
-
-.sp
-.LP
-prints a list of utilities specified by both \fIfile2\fR and \fIfile3\fR, but
-not specified in \fIfile1\fR.
-
-.SH ENVIRONMENT VARIABLES
-.sp
-.LP
-See \fBenviron\fR(5) for descriptions of the following environment variables
-that affect the execution of \fBcomm\fR: \fBLANG\fR, \fBLC_ALL\fR,
-\fBLC_COLLATE\fR, \fBLC_CTYPE\fR, \fBLC_MESSAGES\fR, and \fBNLSPATH\fR.
-.SH EXIT STATUS
-.sp
-.LP
+.It Ar file2
+A path name of the second file to be compared.
+If
+.Ar file1
+is
+.Em \(mi ,
+the standard input is used.
+.El
+.Sh EXIT STATUS
 The following exit values are returned:
-.sp
-.ne 2
-.na
-\fB\fB0\fR\fR
-.ad
-.RS 6n
+.Bl -tag -width Ds
+.It Sy 0
 All input files were successfully output as specified.
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fB>0\fR\fR
-.ad
-.RS 6n
+.It Sy >0
 An error occurred.
-.RE
-
-.SH ATTRIBUTES
-.sp
-.LP
-See \fBattributes\fR(5) for descriptions of the following attributes:
-.sp
-
-.sp
-.TS
-box;
-c | c
-l | l .
-ATTRIBUTE TYPE	ATTRIBUTE VALUE
-_
-CSI	enabled
-_
-Interface Stability	Standard
-.TE
-
-.SH SEE ALSO
-.sp
-.LP
-\fBcmp\fR(1), \fBdiff\fR(1), \fBsort\fR(1), \fBuniq\fR(1), \fBattributes\fR(5),
-\fBenviron\fR(5), \fBlargefile\fR(5), \fBstandards\fR(5)
+.El
+.Sh EXAMPLES
+.Bl -tag -width 6
+.It Sy Example 1 No Printing a list of utilities specified by files
+.Pp
+If
+.Ar file1 ,
+.Ar file2 ,
+and
+.Ar file3
+each contain a sorted list of utilities, the command
+.Bd -literal
+    $ comm -23 file1 file2  | comm -23 - file3
+.Ed
+.Pp
+prints a list of utilities in
+.Ar file1
+not specified by either of the other files.
+.Pp
+The command:
+.Bd -literal
+    $ comm -12 file1 file2 | comm -12 - file3
+.Ed
+.Pp
+prints a list of utilities specified by all three files; and the command:
+.Bd -literal
+    $ comm -12  file2 file3 | comm -23 -file1
+.Ed
+.Pp
+prints a list of utilities specified by both
+.Ar file2
+and
+.Ar file3 ,
+but not specified in
+.Ar file1 .
+.El
+.Sh ENVIRONMENT VARIABLES
+See
+.Xr environ 5
+for descriptions of the following environment variables
+that affect the execution of
+.Nm :
+.Ev LANG ,
+.Ev LC_ALL ,
+.Ev LC_COLLATE ,
+.Ev LC_CTYPE ,
+.Ev LC_MESSAGES ,
+.Ev LC_NUMERIC ,
+and
+.Ev NLSPATH .
+.Sh INTERFACE STABILITY
+The command line interface of
+.Nm
+is
+.Sy Committed .
+The output of
+.Nm
+is
+.Sy Committed .
+.Sh SEE ALSO
+.Xr cmp 1 ,
+.Xr diff 1 ,
+.Xr sort 1 ,
+.Xr uniq 1 ,
+.Xr attributes 5 ,
+.Xr environ 5 ,
+.Xr largefile 5 ,
+.Xr standards 5
--- old/usr/src/man/man1/cut.1	Tue Feb  9 20:40:39 2021
+++ new/usr/src/man/man1/cut.1	Tue Feb  9 20:40:39 2021
@@ -43,363 +43,225 @@
 .\" Copyright 1989 AT&T
 .\" Portions Copyright (c) 1992, X/Open Company Limited  All Rights Reserved
 .\" Copyright (c) 1999, Sun Microsystems, Inc.  All Rights Reserved
+.\" Copyright 2021 OmniOS Community Edition (OmniOSce) Association.
 .\"
-.TH CUT 1 "Apr 29, 1999"
-.SH NAME
-cut \- cut out selected fields of each line of a file
-.SH SYNOPSIS
-.LP
-.nf
-\fBcut\fR \fB-b\fR \fIlist\fR [\fB-n\fR] [\fIfile\fR]...
-.fi
-
-.LP
-.nf
-\fBcut\fR \fB-c\fR \fIlist\fR [\fIfile\fR]...
-.fi
-
-.LP
-.nf
-\fBcut\fR \fB-f\fR \fIlist\fR [\fB-d\fR \fIdelim\fR] [\fB-s\fR] [\fIfile\fR]...
-.fi
-
-.SH DESCRIPTION
-.sp
-.LP
-Use the \fBcut\fR utility to cut out columns from a table or fields from each
-line of a file; in data base parlance, it implements the projection of a
-relation. The fields as specified by \fIlist\fR can be fixed length, that is,
-character positions as on a punched card (\fB-c\fR option) or the length can
-vary from line to line and be marked with a field delimiter character like TAB
-(\fB-f\fR option). \fBcut\fR can be used as a filter.
-.sp
-.LP
-Either the \fB-b\fR, \fB-c\fR, or \fB-f\fR option must be specified.
-.sp
-.LP
-Use \fBgrep\fR(1) to make horizontal ``cuts'' (by context) through a file, or
-\fBpaste\fR(1) to put files together column-wise (that is, horizontally). To
-reorder columns in a table, use \fBcut\fR and \fBpaste\fR.
-.SH OPTIONS
-.sp
-.LP
+.Dd Feb 9, 2021
+.Dt CUT 1
+.Os
+.Sh NAME
+.Nm cut
+.Nd cut out selected columns or fields of each line of a file
+.Sh SYNOPSIS
+.Nm
+.Fl b Ar list
+.Op Fl nN
+.Op Fl r Ar reclen
+.Oo Ar file Oc Ns ...
+.Pp
+.Nm
+.Fl c Ar list
+.Op Fl N
+.Op Fl r Ar reclen
+.Oo Ar file Oc Ns ...
+.Pp
+.Nm
+.Fl f Ar list
+.Op Fl s
+.Op Fl d Ar delim
+.Op Fl D Ar ldelim
+.Oo Ar file Oc Ns ...
+.Sh DESCRIPTION
+Use the
+.Nm
+utility to cut out columns from a table or fields from each line of a file.
+In database parlance, it implements the projection of a relation.
+The fields as specified by
+.Ar list
+can be fixed length, that is, character positions as on a punched card
+.Pq Fl c No option
+or the length can vary from line to line and be marked with a field delimiter
+character such as TAB
+.Po Fl f No option Pc .
+.Nm
+can be used as a filter.
+.Pp
+Either the
+.Fl b ,
+.Fl c ,
+or
+.Fl f
+option must be specified.
+.Pp
+Use
+.Xr grep 1
+to make horizontal cuts (by context) through a file, or
+.Xr paste 1
+to put files together column-wise (that is, horizontally).
+To reorder columns in a table, use
+.Nm cut
+and
+.Xr paste 1 .
+.Sh OPTIONS
 The following options are supported:
-.sp
-.ne 2
-.na
-\fB\fIlist\fR \fR
-.ad
-.RS 13n
-A comma-separated or blank-character-separated list of integer field numbers
-(in increasing order), with optional \fB\(mi\fR to indicate ranges (for
-instance, \fB1,4,7\fR; \fB1\(mi3,8\fR; \fB\(mi5,10\fR (short for
-\fB1\(mi5,10\fR); or \fB3\(mi\fR (short for third through last field)).
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fB\fR\fB-b\fR \fIlist\fR \fR
-.ad
-.RS 13n
-The \fIlist\fR following \fB-b\fR specifies byte positions (for instance,
-\fB-b1\fR\fB-72\fR would pass the first 72 bytes of each line). When \fB-b\fR
-and \fB-n\fR are used together, \fIlist\fR is adjusted so that no multi-byte
-character is split.
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fB\fR\fB-c\fR \fIlist\fR \fR
-.ad
-.RS 13n
-The \fIlist\fR following \fB-c\fR specifies character positions (for instance,
-\fB-c1\fR\fB-72\fR would pass the first 72 characters of each line).
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fB\fR\fB-d\fR \fIdelim\fR \fR
-.ad
-.RS 13n
-The character following \fB-d\fR is the field delimiter (\fB-f\fR option only).
-Default is \fItab\fR. Space or other characters with special meaning to the
-shell must be quoted. \fIdelim\fR can be a multi-byte character.
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fB\fR\fB-f\fR \fIlist\fR \fR
-.ad
-.RS 13n
-The \fIlist\fR following \fB-f\fR is a list of fields assumed to be separated
-in the file by a delimiter character (see \fB-d\fR ); for instance,
-\fB-f1\fR\fB,7\fR copies the first and seventh field only. Lines with no field
-delimiters will be passed through intact (useful for table subheadings), unless
-\fB-s\fR is specified.
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fB-n\fR \fR
-.ad
-.RS 13n
-Do not split characters. When \fB-b\fR \fIlist\fR and \fB-n\fR are used
-together, \fIlist\fR is adjusted so that no multi-byte character is split.
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fB-s\fR \fR
-.ad
-.RS 13n
-Suppresses lines with no delimiter characters in case of \fB-f\fR option.
+.Bl -tag -width Ar
+.It Fl b Ar list Ns \&, Fl \-bytes Ns = Ns Ar list
+The
+.Ar list
+following
+.Fl b
+specifies byte positions (for instance,
+.Fl b Ar 1-72
+would pass the first 72 bytes of each line).
+When
+.Fl b
+and
+.Fl n
+are used together, list is adjusted so that no multi-byte character is split.
+.It Fl c Ar list Ns \&, Fl \-characters Ns = Ns Ar list
+The
+.Ar list
+following
+.Fl c
+specifies character positions (for instance,
+.Fl c Ar 1-72
+would pass the first 72 characters of each line).
+.It Fl d Ar delim Ns \&, Fl \-delimiter Ns = Ns Ar delim
+The character following
+.Fl d
+is the field delimiter
+.Po Fl f No option only Pc ;
+the default is the TAB character.
+Space or other characters with special meaning to the shell must be quoted.
+delim can be a multi-byte character.
+.It Fl f Ar list Ns \&, Fl \-fields Ns = Ns Ar list
+The
+.Ar list
+following
+.Fl f
+is a list of fields assumed to be separated in the file by a delimiter
+character
+.Po see Fl d Pc ;
+for instance,
+.Fl f Ar 1,7
+copies the first and seventh field only.
+Lines with no field delimiters will be passed through intact (useful for table
+subheadings), unless
+.Fl s
+is specified.
+.It Fl n Ns \&, Fl \-split Ns \&, Fl \-nosplit
+Controls whether multi-byte characters are split with the
+.Fl b
+option.
+The default is to split characters and this can be disabled with the
+.Fl n
+or
+.Fl \-nosplit
+flag.
 Unless specified, lines with no delimiters will be passed through untouched.
-.RE
-
-.SH OPERANDS
-.sp
-.LP
+.It Fl r Ar reclen Ns \&, Fl R Ar reclen Ns \&, Fl \-reclen Ns = Ns Ar reclen
+If
+.Ar reclen
+is > 0, the input will be read as fixed length records of length
+.Ar reclen
+when used with the
+.Fl b
+or
+.Fl c
+options.
+.It Fl s Ns \&, Fl \-suppress Ns \&, Fl \-only-delimited
+Suppress lines which do not contain any delimiter characters
+.Po Fl f No option only Pc .
+.It Fl D Ar ldelim Ns \&, Fl \-line-delimiter Ns = Ns Ar ldelim Ns \&, Fl \-output-delimiter Ns = Ns Ar ldelim
+The line delimiter for the
+.Fl f
+option is set to
+.Ar ldelim .
+The default is the newline character.
+.It Fl N Ns \&, Fl \-newline Ns \&, Fl \-nonewline
+Controls whether to output a new-line at the end of each record when used with
+the
+.Fl b
+or
+.Fl c
+options.
+This is on by default;
+.Fl N
+turns it off and is the same as specifying
+.Fl \-nonewline .
+.El
+.Pp
+In the above options,
+.Ar list
+is a comma-separated or blank-character-separated list of integer field, byte
+or character numbers (in increasing order), with optional
+.Ar \(mi
+to indicate ranges (for instance,
+.Em 1,4,7 ;
+.Em 1\(mi3,8 ;
+.Em \(mi5,10
+.Po short for Ar 1\(mi5,10 Pc ;
+or
+.Ar 3\(mi
+.Po short for third through last field Pc .
+)
+.Sh OPERANDS
 The following operands are supported:
-.sp
-.ne 2
-.na
-\fB\fIfile\fR \fR
-.ad
-.RS 9n
-A path name of an input file. If no \fIfile\fR operands are specified, or if a
-\fIfile\fR operand is \fB\(mi\fR, the standard input will be used.
-.RE
-
-.SH USAGE
-.sp
-.LP
-See \fBlargefile\fR(5) for the description of the behavior of \fBcut\fR when
-encountering files greater than or equal to 2 Gbyte (2^31 bytes).
-.SH EXAMPLES
-.LP
-\fBExample 1 \fRMapping user IDs
-.sp
-.LP
-A mapping of user \fBIDs\fR to names follows:
-
-.sp
-.in +2
-.nf
-example% \fBcut -d: -f1,5 /etc/passwd\fR
-.fi
-.in -2
-.sp
-
-.LP
-\fBExample 2 \fRSetting current login name
-.sp
-.LP
-To set \fBname\fR to current login name:
-
-.sp
-.in +2
-.nf
-example$ \fBname=\(gawho am i | cut -f1 -d' '\(ga\fR
-.fi
-.in -2
-.sp
-
-.SH ENVIRONMENT VARIABLES
-.sp
-.LP
-See \fBenviron\fR(5) for descriptions of the following environment variables
-that affect the execution of \fBcut\fR: \fBLANG\fR, \fBLC_ALL\fR,
-\fBLC_CTYPE\fR, \fBLC_MESSAGES\fR, and \fBNLSPATH\fR.
-.SH EXIT STATUS
-.sp
-.LP
-The following exit values are returned:
-.sp
-.ne 2
-.na
-\fB\fB0\fR \fR
-.ad
-.RS 7n
+.Bl -tag -width Ar
+.It Ar file
+A path name of an input file.
+If no file operands are specified, or if a file operand is \(mi, the standard
+input will be used.
+.El
+.Sh EXIT STATUS
+.Bl -tag -width Ds
+.It Sy 0
 All input files were output successfully.
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fB>0\fR \fR
-.ad
-.RS 7n
+.It Sy >0
 An error occurred.
-.RE
-
-.SH ATTRIBUTES
-.sp
-.LP
-See \fBattributes\fR(5) for descriptions of the following attributes:
-.sp
-
-.sp
-.TS
-box;
-c | c
-l | l .
-ATTRIBUTE TYPE	ATTRIBUTE VALUE
-_
-CSI	Enabled
-_
-Interface Stability	Standard
-.TE
-
-.SH SEE ALSO
-.sp
-.LP
-\fBgrep\fR(1), \fBpaste\fR(1), \fBattributes\fR(5), \fBenviron\fR(5),
-\fBlargefile\fR(5), \fBstandards\fR(5)
-.SH DIAGNOSTICS
-.sp
-.ne 2
-.na
-\fB\fBcut: \fR\fB-n\fR\fB may only be used with \fR\fB-b\fR \fR
-.ad
-.sp .6
-.RS 4n
-
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fBcut: \fR\fB-d\fR\fB may only be used with \fR\fB-f\fR \fR
-.ad
-.sp .6
-.RS 4n
-
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fBcut: \fR\fB-s\fR\fB may only be used with \fR\fB-f\fR \fR
-.ad
-.sp .6
-.RS 4n
-
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fBcut: cannot open \fR\fI<file>\fR \fR
-.ad
-.sp .6
-.RS 4n
-Either \fIfile\fR cannot be read or does not exist.  If multiple files are
-present, processing continues.
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fBcut: no delimiter specified\fR \fR
-.ad
-.sp .6
-.RS 4n
-Missing \fIdelim\fR on \fB-d\fR option.
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fBcut: invalid delimiter\fR \fR
-.ad
-.sp .6
-.RS 4n
-
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fBcut: no \fIlist\fR\fR\fB specified\fR \fR
-.ad
-.sp .6
-.RS 4n
-Missing \fIlist\fR on \fB-b\fR, \fB-c\fR, or \fB-f\fR option.
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fBcut: invalid range specifier\fR \fR
-.ad
-.sp .6
-.RS 4n
-
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fBcut: too many ranges specified\fR \fR
-.ad
-.sp .6
-.RS 4n
-
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fBcut: range must be increasing\fR \fR
-.ad
-.sp .6
-.RS 4n
-
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fBcut: invalid character in range\fR \fR
-.ad
-.sp .6
-.RS 4n
-
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fBcut: internal error processing input\fR \fR
-.ad
-.sp .6
-.RS 4n
-
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fBcut: invalid multibyte character\fR \fR
-.ad
-.sp .6
-.RS 4n
-
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fBcut: unable to allocate enough memory\fR \fR
-.ad
-.sp .6
-.RS 4n
-
-.RE
-
+.El
+.Sh EXAMPLES
+.Bl -tag -width 6
+.It Sy Example 1 No Mapping user IDs
+.Pp
+A mapping of user IDs to names follows:
+.Bd -literal
+    $ cut -d: -f1,5 /etc/passwd
+.Ed
+.It Sy Example 2 No Setting current login name
+.Pp
+To set
+.Ar name
+to current login name:
+.Bd -literal
+    $ name=\(gawho am i | cut -f1 -d' '\(ga
+.Ed
+.El
+.Sh ENVIRONMENT VARIABLES
+See
+.Xr environ 5
+for descriptions of the following environment variables
+that affect the execution of
+.Nm :
+.Ev LANG ,
+.Ev LC_ALL ,
+.Ev LC_CTYPE ,
+.Ev LC_MESSAGES ,
+.Ev LC_NUMERIC ,
+and
+.Ev NLSPATH .
+.Sh INTERFACE STABILITY
+The command line interface of
+.Nm
+is
+.Sy Committed .
+The output of
+.Nm
+is
+.Sy Committed .
+.Sh SEE ALSO
+.Xr grep 1 ,
+.Xr paste 1 ,
+.Xr attributes 5 ,
+.Xr environ 5 ,
+.Xr largefile 5 ,
+.Xr standards 5
--- old/usr/src/man/man1/jobs.1	Tue Feb  9 20:40:40 2021
+++ new/usr/src/man/man1/jobs.1	Tue Feb  9 20:40:40 2021
@@ -44,44 +44,14 @@
 .\" Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved
 .\" Portions Copyright (c) 1982-2007 AT&T Knowledge Ventures
 .\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved
+.\" Copyright 2021 OmniOS Community Edition (OmniOSce) Association.
 .\"
-.TH JOBS 1 "Nov 2, 2007"
+.TH JOBS 1 "Feb 9, 2021"
 .SH NAME
 jobs, fg, bg, stop, notify \- control process execution
 .SH SYNOPSIS
-.SS "sh"
-.LP
-.nf
-\fBjobs\fR [\fB-p\fR | \fB-l\fR] [% \fIjob_id\fR...]
-.fi
 
-.LP
-.nf
-\fBjobs\fR \fB-x\fR \fIcommand\fR [\fIarguments\fR]
-.fi
-
-.LP
-.nf
-\fBfg\fR [% \fIjob_id\fR...]
-.fi
-
-.LP
-.nf
-\fBbg\fR [% \fIjob_id\fR...]
-.fi
-
-.LP
-.nf
-\fBstop\fR % \fIjob_id\fR...
-.fi
-
-.LP
-.nf
-\fBstop\fR \fIpid\fR...
-.fi
-
 .SS "csh"
-.LP
 .nf
 \fBjobs\fR [\fB-l\fR]
 .fi
@@ -111,34 +81,7 @@
 \fBstop\fR \fIpid\fR...
 .fi
 
-.SS "ksh"
-.LP
-.nf
-\fBjobs\fR [\fB-lnp\fR] [% \fIjob_id\fR...]
-.fi
-
-.LP
-.nf
-\fBfg\fR [% \fIjob_id\fR...]
-.fi
-
-.LP
-.nf
-\fBbg\fR [% \fIjob_id\fR...]
-.fi
-
-.LP
-.nf
-\fBstop\fR % \fIjob_id\fR...
-.fi
-
-.LP
-.nf
-\fBstop\fR \fIpid\fR...
-.fi
-
 .SS "ksh93"
-.LP
 .nf
 \fBjobs\fR [\fB-lnp\fR] [\fIjob_id\fR...]
 .fi
@@ -154,152 +97,7 @@
 .fi
 
 .SH DESCRIPTION
-.SS "sh"
-.sp
-.LP
-When Job Control is enabled, the Bourne shell built-in \fBjobs\fR reports all
-jobs that are stopped or executing in the background. If \fB%\fR\fIjob_id\fR is
-omitted, all jobs that are stopped or running in the background is reported.
-The following options modify or enhance the output of \fBjobs\fR:
-.sp
-.ne 2
-.na
-\fB\fB-l\fR\fR
-.ad
-.RS 6n
-Reports the process group \fBID\fR and working directory of the jobs.
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fB-p\fR\fR
-.ad
-.RS 6n
-Reports only the process group \fBID\fR of the jobs.
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fB-x\fR\fR
-.ad
-.RS 6n
-Replaces any \fIjob_id\fR found in \fIcommand\fR or \fIarguments\fR with the
-corresponding process group \fBID\fR, and then executes \fIcommand\fR passing
-it \fIarguments\fR.
-.RE
-
-.sp
-.LP
-When the shell is invoked as \fBjsh\fR, Job Control is enabled in addition to
-all of the functionality described previously for \fBsh\fR. Typically Job
-Control is enabled for the interactive shell only. Non-interactive shells
-typically do not benefit from the added functionality of Job Control.
-.sp
-.LP
-With Job Control enabled every command or pipeline the user enters at the
-terminal is called a \fIjob_id\fR. All jobs exist in one of the following
-states: foreground, background or stopped. These terms are defined as follows:
-.RS +4
-.TP
-1.
-A job in the \fBforeground\fR has read and write access to the controlling
-terminal.
-.RE
-.RS +4
-.TP
-2.
-A job in the \fBbackground\fR is denied read access and has conditional
-write access to the controlling terminal (see \fBstty\fR(1))
-.RE
-.RS +4
-.TP
-3.
-A \fBstopped\fR job is a job that has been placed in a suspended state,
-usually as a result of a \fBSIGTSTP\fR signal (see \fBsignal.h\fR(3HEAD)).
-.RE
-.sp
-.LP
-Every job that the shell starts is assigned a positive integer, called a
-\fIjob_id number\fR which is tracked by the shell and are used as an identifier
-to indicate a specific job. Additionally, the shell keeps track of the
-\fBcurrent\fR and \fBprevious\fR jobs. The \fBcurrent job\fR is the most recent
-job to be started or restarted. The \fBprevious job\fR is the first non-current
-job.
-.sp
-.LP
-The acceptable syntax for a Job Identifier is of the form:
-.sp
-.LP
-\fB%\fR\fIjob_id\fR
-.sp
-.LP
-where \fIjob_id\fR can be specified in any of the following formats:
-.sp
-.ne 2
-.na
-\fB\fB%\fR or \fB+\fR\fR
-.ad
-.RS 13n
-for the current job
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fB\(mi\fR\fR
-.ad
-.RS 13n
-for the previous job
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fB?\fR\fI<string>\fR\fR
-.ad
-.RS 13n
-specify the job for which the command line uniquely contains \fIstring\fR.
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fIn\fR\fR
-.ad
-.RS 13n
-for job number \fIn\fR, where \fIn\fR is a job number
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fIpref\fR\fR
-.ad
-.RS 13n
-where \fIpref\fR is a unique prefix of the command name (for example, if the
-command \fBls \(mil name\fR were running in the background, it could be
-referred to as \fB%ls\fR); \fIpref\fR cannot contain blanks unless it is
-quoted.
-.RE
-
-.sp
-.LP
-When Job Control is enabled, \fBfg\fR resumes the execution of a stopped job in
-the foreground, also moves an executing background job into the foreground. If
-\fB%\fR\fIjob_id\fR is omitted the current job is assumed.
-.sp
-.LP
-When Job Control is enabled, \fBbg\fR resumes the execution of a stopped job in
-the background. If \fB%\fR\fIjob_id\fR is omitted the current job is assumed.
-.sp
-.LP
-\fBstop\fR stops the execution of a background job(s) by using its
-\fIjob_id\fR, or of any process by using its \fIpid\fR; see \fBps\fR(1).
 .SS "csh"
-.sp
-.LP
 The C shell built-in, \fBjobs\fR, without an argument, lists the active jobs
 under job control.
 .sp
@@ -396,176 +194,7 @@
 .LP
 \fBnotify\fR notifies the user asynchronously when the status of the current
 job or specified jobs changes.
-.SS "ksh"
-.sp
-.LP
-\fBjobs\fR displays the status of the jobs that were started in the current
-shell environment. When \fBjobs\fR reports the termination status of a job, the
-shell removes its process \fBID\fR from the list of those known in the current
-shell execution environment.
-.sp
-.LP
-\fIjob_id\fR specifies the jobs for which the status is to be displayed. If no
-\fIjob_id\fR is specified, the status information for all jobs are displayed.
-.sp
-.LP
-The following options modify or enhance the output of \fBjobs\fR:
-.sp
-.ne 2
-.na
-\fB\fB-l\fR\fR
-.ad
-.RS 6n
-(The letter ell.) Provides more information about each job listed. This
-information includes the job number, current job, process group \fBID\fR, state
-and the command that formed the job.
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fB-n\fR\fR
-.ad
-.RS 6n
-Displays only jobs that have stopped or exited since last notified.
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fB-p\fR\fR
-.ad
-.RS 6n
-Displays only the process \fBID\fRs for the process group leaders of the
-selected jobs.
-.RE
-
-.sp
-.LP
-By default, \fBjobs\fR displays the status of all the stopped jobs, running
-background jobs, and all jobs whose status has changed and have not been
-reported by the shell.
-.sp
-.LP
-If the \fBmonitor\fR option of the \fBset\fR command is turned on, an
-interactive shell associates a \fBjob\fR with each pipeline. It keeps a table
-of current jobs, printed by the \fBjobs\fR command, and assigns them small
-integer numbers. When a job is started asynchronously with \fB&\fR, the shell
-prints a line which looks like:
-.sp
-.LP
-\fB[1]\fR \fB1234\fR
-.sp
-.LP
-indicating that the job, which was started asynchronously, was job number
-\fB1\fR and had one (top-level) process, whose process id was \fB1234\fR.
-.sp
-.LP
-If you are running a job and wish to do something else you can hit the key ^Z
-(Control-Z) which sends a \fBSTOP\fR signal to the current job. The shell then
-normally indicates that the job has been "\fBStopped\fR" (see \fBOUTPUT\fR
-below), and print another prompt. You can then manipulate the state of this
-job, putting it in the background with the \fBbg\fR command, or run some other
-commands and then eventually bring the job back into the foreground with the
-foreground command \fBfg\fR. A ^Z takes effect immediately and is like an
-interrupt, in that pending output and unread input are discarded when it is
-typed.
-.sp
-.LP
-There are several ways to refer to jobs in the shell. A job can be referred to
-by the process id of any process of the job or by one of the following:
-.sp
-.ne 2
-.na
-\fB\fB%\fR\fInumber\fR\fR
-.ad
-.RS 12n
-The job with the specified number.
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fB%\fR\fIstring\fR\fR
-.ad
-.RS 12n
-Any job whose command line begins with \fIstring\fR; works only in the
-interactive mode when the history file is active.
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fB%?\fR\fIstring\fR\fR
-.ad
-.RS 12n
-Any job whose command line contains \fIstring\fR; works only in the interactive
-mode when the history file is active.
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fB%%\fR\fR
-.ad
-.RS 12n
-Current job.
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fB%+\fR\fR
-.ad
-.RS 12n
-Equivalent to \fB%%\fR.
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fB%\(mi\fR\fR
-.ad
-.RS 12n
-Previous job.
-.RE
-
-.sp
-.LP
-The shell learns immediately whenever a process changes state. It normally
-informs you whenever a job becomes blocked so that no further progress is
-possible, but only just before it prints a prompt. This is done so that it does
-not otherwise disturb your work. When the monitor mode is on, each background
-job that completes triggers any trap set for \fBCHLD\fR. When you try to leave
-the shell while jobs are running or stopped, you are warned that `You have
-stopped (running) jobs.' You can use the \fBjobs\fR command to see what they
-are. If you do this or immediately try to exit again, the shell does not warn
-you a second time, and the stopped jobs are terminated.
-.sp
-.LP
-\fBfg\fR moves a background job from the current environment into the
-foreground. Using \fBfg\fR to place a job in the foreground removes its process
-\fBID\fR from the list of those known in the current shell execution
-environment. The \fBfg\fR command is available only on systems that support job
-control. If \fIjob_id\fR is not specified, the current job is brought into the
-foreground.
-.sp
-.LP
-\fBbg\fR resumes suspended jobs from the current environment by running them as
-background jobs. If the job specified by \fIjob_id\fR is already a running
-background job, \fBbg\fR has no effect and exits successfully. Using \fBbg\fR
-to place a job into the background causes its process \fBID\fR to become `known
-in the current shell execution environment, as if it had been started as an
-asynchronous list. The \fBbg\fR command is available only on systems that
-support job control. If \fIjob_id\fR is not specified, the current job is
-placed in the background.
-.sp
-.LP
-\fBstop\fR stops the execution of a background job(s) by using its
-\fIjob_id\fR, or of any process by using its \fIpid\fR. See \fBps\fR(1).
 .SS "ksh93"
-.sp
-.LP
 \fBjobs\fR displays information about specified jobs that were started by the
 current shell environment on standard output. The information contains the job
 number enclosed in \fB[...]\fR, the status, and the command line that started
@@ -692,8 +321,6 @@
 signal to start them running. If \fIjob_id\fR is omitted, the most recently
 started or stopped background job is resumed or continued in the background.
 .SH OUTPUT
-.sp
-.LP
 If the \fB-p\fR option is specified, the output consists of one line for each
 process \fBID\fR:
 .sp
@@ -841,15 +468,11 @@
 process group can be output on separate lines, using only the process \fBID\fR
 and \fBcommand\fR fields.
 .SH ENVIRONMENT VARIABLES
-.sp
-.LP
 See \fBenviron\fR(5) for descriptions of the following environment variables
 that affect the execution of \fBjobs\fR, \fBfg\fR, and \fBbg\fR: \fBLANG\fR,
 \fBLC_ALL\fR, \fBLC_CTYPE\fR, \fBLC_MESSAGES\fR, and \fBNLSPATH\fR.
 .SH EXIT STATUS
-.SS "sh, csh, ksh"
-.sp
-.LP
+.SS "csh"
 The following exit values are returned for \fBjobs\fR, \fBfg\fR, and \fBbg\fR:
 .sp
 .ne 2
@@ -870,8 +493,6 @@
 .RE
 
 .SS "ksh93"
-.sp
-.LP
 The following exit values are returned for \fBjobs\fR:
 .sp
 .ne 2
@@ -934,13 +555,8 @@
 .RE
 
 .SH ATTRIBUTES
-.sp
-.LP
 See \fBattributes\fR(5) for descriptions of the following attributes:
-.SS "csh, sh, ksh"
-.sp
-
-.sp
+.SS "csh"
 .TS
 box;
 c | c
@@ -953,9 +569,6 @@
 .TE
 
 .SS "ksh93"
-.sp
-
-.sp
 .TS
 box;
 c | c
@@ -966,9 +579,7 @@
 .TE
 
 .SH SEE ALSO
-.sp
-.LP
-\fBcsh\fR(1), \fBkill\fR(1), \fBksh\fR(1), \fBksh93\fR(1), \fBps\fR(1),
-\fBsh\fR(1), \fBstop\fR(1), \fBshell_builtins\fR(1), \fBstty\fR(1),
+\fBcsh\fR(1), \fBkill\fR(1), \fBksh93\fR(1), \fBps\fR(1),
+\fBstop\fR(1), \fBshell_builtins\fR(1), \fBstty\fR(1),
 \fBwait\fR(1), \fBsignal.h\fR(3HEAD), \fBattributes\fR(5), \fBenviron\fR(5),
 \fBstandards\fR(5)
--- old/usr/src/man/man1/rev.1	Tue Feb  9 20:40:40 2021
+++ new/usr/src/man/man1/rev.1	Tue Feb  9 20:40:40 2021
@@ -1,102 +1,54 @@
-'\" te
 .\" Copyright (c) 1982-2007 AT&T Knowledge Ventures
 .\" To view license terms, see http://www.opensource.org/licenses/cpl1.0.txt
 .\" Portions Copyright (c) 2009, Sun Microsystems, Inc. All Rights Reserved.
-.TH REV 1 "Aug 11, 2009"
-.SH NAME
-rev \- reverse the characters or lines of one or more files
-.SH SYNOPSIS
-.LP
-.nf
-\fB/usr/bin/rev\fR [\fB-l\fR] [\fIfile\fR...]
-.fi
-
-.SS "ksh93"
-.LP
-.nf
-rev [-\fBl\fR] [\fIfile\fR...]
-.fi
-
-.SH DESCRIPTION
-.sp
-.LP
-\fBrev\fR copies one or more files to standard output, reversing the order of
+.\" Copyright 2021 OmniOS Community Edition (OmniOSce) Association.
+.Dd Feb 9, 2021
+.Dt REV 1
+.Os
+.Sh NAME
+.Nm rev
+.Nd reverse the characters or lines of one or more files
+.Sh SYNOPSIS
+.Nm
+.Op Fl l
+.Oo Ar file Oc Ns ...
+.Sh DESCRIPTION
+.Sh OPTIONS
+.Nm
+copies one or more files to standard output, reversing the order of
 characters on every line of the file, or reversing the order of lines of the
-file if \fB-l\fR is specified
-.SH OPTIONS
-.sp
-.LP
+file if
+.Fl l
+is specified.
 The following options are supported:
-.sp
-.ne 2
-.na
-\fB\fB-l\fR\fR
-.ad
-.br
-.na
-\fB\fB--line\fR\fR
-.ad
-.RS 10n
+.Bl -tag -width Ar
+.It Fl l Ns \&, Fl \-line
 Reverse the order of the lines of the file, instead of characters.
-.RE
-
-.SH OPERANDS
-.sp
-.LP
+.El
+.Sh OPERANDS
 The following operands are supported:
-.sp
-.ne 2
-.na
-\fB\fIfile\fR\fR
-.ad
-.RS 8n
+.Bl -tag -width Ar
+.It Ar file
 Specifies the name of the file to use as input.
-.sp
-If \fIfile\fR is not specified, or if \fIfile\fR is a \fB-\fR, \fBrev\fR copies
-from standard input starting at the current offset.
-.RE
-
-.SH EXIT STATUS
-.sp
-.LP
+.Pp
+If
+.Ar file
+is not specified or is \(mi,
+.Nm
+copies from standard input starting at the current offset.
+.El
+.Sh EXIT STATUS
 The following exit values are returned:
-.sp
-.ne 2
-.na
-\fB\fB0\fR\fR
-.ad
-.RS 6n
+.Bl -tag -width Ds
+.It Sy 0
 All files copied successfully.
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fB>0\fR\fR
-.ad
-.RS 6n
+.It Sy >0
 One or more files did not copy.
-.RE
-
-.SH ATTRIBUTES
-.sp
-.LP
-See \fBattributes\fR(5) for descriptions of the following attributes:
-.sp
-
-.sp
-.TS
-box;
-c | c
-l | l .
-ATTRIBUTE TYPE	ATTRIBUTE VALUE
-_
-CSI	Enabled
-_
-Interface Stability	Committed
-.TE
-
-.SH SEE ALSO
-.sp
-.LP
-\fBcat\fR(1), \fBksh93\fR(1), \fBtail\fR(1), \fBattributes\fR(5)
+.El
+.Sh INTERFACE STABILITY
+.Sy Committed .
+.Sh SEE ALSO
+.Xr cat 1 ,
+.Xr ksh93 1 ,
+.Xr tail 1 ,
+.Xr attributes 5
--- old/usr/src/man/man1/tee.1	Tue Feb  9 20:40:41 2021
+++ new/usr/src/man/man1/tee.1	Tue Feb  9 20:40:41 2021
@@ -43,226 +43,108 @@
 .\" Copyright 1989 AT&T
 .\" Copyright (c) 1992, X/Open Company Limited.  All Rights Reserved.
 .\" Portions Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved
+.\" Portions Copyright 2021 OmniOS Community Edition (OmniOSce) Association.
 .\"
-.TH TEE 1 "Nov 20, 2007"
-.SH NAME
-tee \- replicate the standard output
-.SH SYNOPSIS
-.SS "/usr/bin/tee"
-.LP
-.nf
-\fB/usr/bin/tee\fR [\fB-ai\fR] [\fIfile\fR]...
-.fi
-
-.SS "ksh93"
-.LP
-.nf
-\fBtee\fR [\fB-ail\fR] [\fIfile\fR]...
-.fi
-
-.SH DESCRIPTION
-.SS "/usr/bin/tee"
-.sp
-.LP
-\fB/usr/bin/tee\fR copies standard input to standard output, making a copy in
-zero or more files. \fBtee\fR does not buffer its output. The options determine
-if the specified files are overwritten or appended to.
-.SS "ksh93"
-.sp
-.LP
-The \fBtee\fR built-in in \fBksh93\fR is associated with the \fB/bin\fR and
-\fB/usr/bin\fR paths. It is invoked when tee is executed without a pathname
-prefix and the pathname search finds a \fB/bin/tee\fR or \fB/usr/bin/tee\fR
-executable.
-.sp
-.LP
-\fBtee\fR copies standard input to standard output and to zero or more files.
-The options determine whether the specified files are overwritten or appended
-to. The tee utility does not buffer output. If a write to a file fails,
-\fBtee\fR continues to write to other files although it exits with a non-zero
+.Dd Feb 9, 2021
+.Dt TEE 1
+.Os
+.Sh NAME
+.Nm tee
+.Nd replicate the standard output
+.Sh SYNOPSIS
+.Nm
+.Op Fl ail
+.Oo Ar file Oc Ns ...
+.Sh DESCRIPTION
+.Nm
+copies standard input to standard output, making a copy in zero or more files.
+.Nm
+does not buffer its output by default
+.Po but see the Fl l No option Pc .
+The options determine if the specified files are overwritten or appended to.
+If a write to a file fails,
+.Nm
+continues to write to other files although it exits with a non-zero
 exit status.
-.sp
-.LP
-The number of \fIfile\fR operands that can be specified is limited by the
-underlying operating system.
-.SH OPTIONS
-.SS "/usr/bin/tee"
-.sp
-.LP
-The following options are supported by \fB/usr/bin/tee\fR:
-.sp
-.ne 2
-.na
-\fB\fB-a\fR\fR
-.ad
-.RS 6n
+.Ss ksh93
+The
+.Nm
+built-in in
+.Xr ksh93 1
+is associated with the
+.Pa /bin
+and
+.Pa /usr/bin
+paths.
+It is invoked when
+.Nm
+is executed without a pathname prefix and the pathname search finds a
+.Pa /bin/tee
+or
+.Pa /usr/bin/tee
+executable.
+.Sh OPTIONS
+The following options are supported:
+.Bl -tag -width Ar
+.It Fl a Ns \&, Fl \-append
 Appends the output to the files rather than overwriting them.
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fB-i\fR\fR
-.ad
-.RS 6n
-Ignores interrupts.
-.RE
-
-.SS "ksh93"
-.sp
-.LP
-The following options are supported by the \fBtee\fR built-in command in
-\fBksh93\fR:
-.sp
-.ne 2
-.na
-\fB\fB-a\fR\fR
-.ad
-.br
-.na
-\fB\fB--append\fR\fR
-.ad
-.RS 23n
-Appends the output to the files rather than overwriting them.
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fB-i\fR\fR
-.ad
-.br
-.na
-\fB\fB--ignore-interrupts\fR\fR
-.ad
-.RS 23n
-Ignores \fBSIGINT\fR signal.
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fB-l\fR\fR
-.ad
-.br
-.na
-\fB\fB--line-buffer\fR\fR
-.ad
-.RS 23n
+.It Fl i Ns \&, Fl \-ignore-interrupts
+Ignores
+.Sy SIGINT
+signal.
+.It Fl l Ns \&, Fl \-linebuffer
 Sets the standard output to be line buffered.
-.RE
-
-.SH OPERANDS
-.sp
-.LP
+.El
+.Sh OPERANDS
 The following operands are supported:
-.sp
-.ne 2
-.na
-\fB\fIfile\fR\fR
-.ad
-.RS 8n
-A path name of an output file. Processing of at least 13 \fIfile\fR operands
-are supported.
-.RE
-
-.SH USAGE
-.sp
-.LP
-See \fBlargefile\fR(5) for the description of the behavior of \fBtee\fR when
-encountering files greater than or equal to 2 Gbyte ( 2^31 bytes).
-.SH ENVIRONMENT VARIABLES
-.sp
-.LP
-See \fBenviron\fR(5) for descriptions of the following environment variables
-that affect the execution of \fBtee\fR: \fBLANG\fR, \fBLC_ALL\fR,
-\fBLC_CTYPE\fR, \fBLC_MESSAGES\fR, and \fBNLSPATH\fR.
-.SH EXIT STATUS
-.SS "/usr/bin/tee"
-.sp
-.LP
-The following exit values are returned by \fB/usr/bin/tee\fR:
-.sp
-.ne 2
-.na
-\fB\fB0\fR\fR
-.ad
-.RS 6n
-The standard input was successfully copied to all output files.
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fB>0\fR\fR
-.ad
-.RS 6n
-The number of files that could not be opened or whose status could not be
-obtained.
-.RE
-
-.SS "ksh93"
-.sp
-.LP
-The following exit values are returned by \fBtee\fR in \fBksh93\fR:
-.sp
-.ne 2
-.na
-\fB\fB0\fR\fR
-.ad
-.RS 6n
-Successful completion.
-.RE
-
-.sp
-.ne 2
-.na
-\fB\fB>0\fR\fR
-.ad
-.RS 6n
+.Bl -tag -width Ar
+.It Ar file
+A path name of an output file.
+Processing of at least 13
+.Ar file
+operands is supported.
+.El
+.Sh EXIT STATUS
+.Bl -tag -width Ds
+.It Sy 0
+All files copied successfully.
+.It Sy >0
 An error occurred.
-.RE
-
-.SH ATTRIBUTES
-.sp
-.LP
-See \fBattributes\fR(5) for descriptions of the following attributes:
-.SS "/usr/bin/tee"
-.sp
-
-.sp
-.TS
-box;
-c | c
-l | l .
-ATTRIBUTE TYPE	ATTRIBUTE VALUE
-_
-CSI	Enabled
-_
-Interface Stability	Committed
-_
-Standard	See \fBstandards\fR(5).
-.TE
-
-.SS "ksh93"
-.sp
-
-.sp
-.TS
-box;
-c | c
-l | l .
-ATTRIBUTE TYPE	ATTRIBUTE VALUE
-_
-Interface Stability	See below.
-.TE
-
-.sp
-.LP
-The \fBksh93\fR built-in binding to \fB/bin\fR and \fB/usr/bin\fR is Volatile.
-The built-in interfaces are Uncommitted.
-.SH SEE ALSO
-.sp
-.LP
-\fBcat\fR(1), \fBksh93\fR(1), \fBattributes\fR(5), \fBenviron\fR(5),
-\fBlargefile\fR(5), \fBstandards\fR(5)
+.El
+.Sh ENVIRONMENT VARIABLES
+See
+.Xr environ 5
+for descriptions of the following environment variables
+that affect the execution of
+.Nm :
+.Ev LANG ,
+.Ev LC_ALL ,
+.Ev LC_TYPE ,
+.Ev LC_MESSAGES ,
+.Ev LC_NUMERIC ,
+and
+.Ev NLSPATH .
+.Sh INTERFACE STABILITY
+The command line interface of
+.Nm
+is
+.Sy Committed .
+The output of
+.Nm
+is
+.Sy Committed .
+The
+.Xr ksh93 1
+built-in binding to
+.Pa /bin
+and
+.Pa /usr/bin
+is
+.Sy Volatile .
+.Sh SEE ALSO
+.Xr cat 1 ,
+.Xr ksh93 1 ,
+.Xr attributes 5 ,
+.Xr environ 5 ,
+.Xr largefile 5 ,
+.Xr standards 5
--- old/usr/src/prototypes/prototype.man1	Tue Feb  9 20:40:41 2021
+++ new/usr/src/prototypes/prototype.man1	Tue Feb  9 20:40:41 2021
@@ -55,11 +55,26 @@
 .\" In general, do not use the '.Ex' macro and instead call out the
 .\" different error values. One would expect at least a difference
 .\" between an error during execution and an error in the usage.
+.\" The following exit values are returned:
+.\" .Bl -tag -width Ds
+.\" .It Sy 0
+.\" All input files were successfully processed.
+.\" .It Sy >0
+.\" An error occurred.
+.\" .El
 .Sh EXAMPLES
 .\" There should be multiple examples present that describe how to use
 .\" different parts of the command. This section should not be skipped
 .\" and it's good to have a number of them.
-.\" .Sh ENVIRONMENT
+.\" .Bl -tag -width 6
+.\" .It Sy Example 1 No description of example
+.\" .Pp
+.\" Introduction
+.\" .Bd -literal
+.\"     $ command
+.\" .Ed
+.\" .El
+.\" .Sh ENVIRONMENT VARIABLES
 .\" If the program reacts to environment variables, most often locale
 .\" related ones, document those here. If they are just the standard
 .\" locale ones, use the following text, adjusting it for the exact set
