`appears'' -> `appeared'' (closes PR#3393, Submitted-by: Josh Gilliam)

add missing Id's
other minor clean ups
This commit is contained in:
John-Mark Gurney 1997-04-27 08:45:46 +00:00
parent 7594bf018f
commit 93e0d62d1c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=25189
10 changed files with 125 additions and 90 deletions

View file

@ -33,6 +33,7 @@
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" @(#)cksum.1 8.1 (Berkeley) 6/29/93 .\" @(#)cksum.1 8.1 (Berkeley) 6/29/93
.\" $Id$
.\" .\"
.Dd June 29, 1993 .Dd June 29, 1993
.Dt CKSUM 1 .Dt CKSUM 1
@ -41,12 +42,12 @@
.Nm cksum .Nm cksum
.Nd display file checksums and block counts .Nd display file checksums and block counts
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm cksum .Nm
.Op Fl o Op \&1 \&| \&2 .Op Fl o Op \&1 \&| \&2
.Op Ar file ... .Op Ar file ...
.Sh DESCRIPTION .Sh DESCRIPTION
The The
.Nm cksum .Nm
utility writes to the standard output three whitespace separated utility writes to the standard output three whitespace separated
fields for each input file. fields for each input file.
These fields are a checksum These fields are a checksum
@ -140,7 +141,7 @@ The bit sequence is complemented and the result is the CRC.
.Ed .Ed
.Pp .Pp
The The
.Nm cksum .Nm
utility exits 0 on success, and >0 if an error occurs. utility exits 0 on success, and >0 if an error occurs.
.Sh SEE ALSO .Sh SEE ALSO
The default calculation is identical to that given in pseudo-code The default calculation is identical to that given in pseudo-code
@ -155,10 +156,10 @@ article.
.Re .Re
.Sh STANDARDS .Sh STANDARDS
The The
.Nm cksum .Nm
utility is expected to be POSIX 1003.2 compatible. utility is expected to be POSIX 1003.2 compatible.
.Sh HISTORY .Sh HISTORY
The The
.Nm cksum .Nm
utility appears in utility appeared in
.Bx 4.4 . .Bx 4.4 .

View file

@ -33,6 +33,7 @@
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" @(#)id.1 8.1 (Berkeley) 6/6/93 .\" @(#)id.1 8.1 (Berkeley) 6/6/93
.\" $Id$
.\" .\"
.Dd "June 6, 1993" .Dd "June 6, 1993"
.Dt ID 1 .Dt ID 1
@ -41,22 +42,22 @@
.Nm id .Nm id
.Nd return user identity .Nd return user identity
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm id .Nm
.Op Ar user .Op Ar user
.Nm id .Nm
.Fl G Op Fl n .Fl G Op Fl n
.Op Ar user .Op Ar user
.Nm id .Nm
.Fl g Op Fl nr .Fl g Op Fl nr
.Op Ar user .Op Ar user
.Nm id .Nm
.Fl p .Fl p
.Nm id .Nm
.Fl u Op Fl nr .Fl u Op Fl nr
.Op Ar user .Op Ar user
.Sh DESCRIPTION .Sh DESCRIPTION
The The
.Nm id .Nm
utility displays the user and group names and numeric IDs, of the utility displays the user and group names and numeric IDs, of the
calling process, to the standard output. calling process, to the standard output.
If the real and effective IDs are different, both are displayed, If the real and effective IDs are different, both are displayed,
@ -91,14 +92,19 @@ If the user name returned by
is different from the login name referenced by the user ID, the name is different from the login name referenced by the user ID, the name
returned by returned by
.Xr getlogin 2 .Xr getlogin 2
is displayed, preceded by the keyword ``login''. is displayed, preceded by the keyword
The user ID as a name is displayed, preceded by the keyword ``uid''. .Dq login .
The user ID as a name is displayed, preceded by the keyword
.Dq uid .
If the effective user ID is different from the real user ID, the real user If the effective user ID is different from the real user ID, the real user
ID is displayed as a name, preceded by the keyword ``euid''. ID is displayed as a name, preceded by the keyword
.Dq euid .
If the effective group ID is different from the real group ID, the real group If the effective group ID is different from the real group ID, the real group
ID is displayed as a name, preceded by the keyword ``rgid''. ID is displayed as a name, preceded by the keyword
.Dq rgid .
The list of groups to which the user belongs is then displayed as names, The list of groups to which the user belongs is then displayed as names,
preceded by the keyword ``groups''. preceded by the keyword
.Dq groups .
Each display is on a separate line. Each display is on a separate line.
.It Fl r .It Fl r
Display the real ID for the Display the real ID for the
@ -111,13 +117,13 @@ Display the effective user ID as a number.
.El .El
.Pp .Pp
The The
.Nm id .Nm
utility exits 0 on success, and >0 if an error occurs. utility exits 0 on success, and >0 if an error occurs.
.Sh SEE ALSO .Sh SEE ALSO
.Xr who 1 .Xr who 1
.Sh STANDARDS .Sh STANDARDS
The The
.Nm id .Nm
function is expected to conform to function is expected to conform to
.St -p1003.2 . .St -p1003.2 .
.Sh HISTORY .Sh HISTORY
@ -135,5 +141,5 @@ command is equivalent to
.Pp .Pp
The The
.Nm .Nm
command appears in command appeared in
.Bx 4.4 . .Bx 4.4 .

View file

@ -30,6 +30,7 @@
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" @(#)kdump.1 8.1 (Berkeley) 6/6/93 .\" @(#)kdump.1 8.1 (Berkeley) 6/6/93
.\" $Id$
.\" .\"
.Dd June 6, 1993 .Dd June 6, 1993
.Dt KDUMP 1 .Dt KDUMP 1
@ -38,14 +39,15 @@
.Nm kdump .Nm kdump
.Nd display kernel trace data .Nd display kernel trace data
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm kdump .Nm
.Op Fl dnlRT .Op Fl dnlRT
.Op Fl f Ar file .Op Fl f Ar file
.Op Fl m Ar maxdata .Op Fl m Ar maxdata
.Op Fl t Op cnisu .Op Fl t Op cnisu
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm Kdump The
displays the kernel trace files produced with .Nm
command displays the kernel trace files produced with
.Xr ktrace 1 .Xr ktrace 1
in human readable format. in human readable format.
By default, the file By default, the file
@ -70,7 +72,7 @@ bytes when decoding
.It Fl n .It Fl n
Suppress ad hoc translations. Suppress ad hoc translations.
Normally Normally
.Nm kdump .Nm
tries to decode many system calls into a more human readable format. tries to decode many system calls into a more human readable format.
For example, For example,
.Xr ioctl 2 .Xr ioctl 2
@ -95,6 +97,6 @@ option of
.Xr ktrace 1 .Xr ktrace 1
.Sh HISTORY .Sh HISTORY
The The
.Nm kdump .Nm
command appears in command appeared in
.Bx 4.4 . .Bx 4.4 .

View file

@ -30,6 +30,7 @@
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" @(#)ktrace.1 8.1 (Berkeley) 6/6/93 .\" @(#)ktrace.1 8.1 (Berkeley) 6/6/93
.\" $Id$
.\" .\"
.Dd June 6, 1993 .Dd June 6, 1993
.Dt KTRACE 1 .Dt KTRACE 1
@ -38,20 +39,21 @@
.Nm ktrace .Nm ktrace
.Nd enable kernel process tracing .Nd enable kernel process tracing
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm ktrace .Nm
.Op Fl aCcdi .Op Fl aCcdi
.Op Fl f Ar trfile .Op Fl f Ar trfile
.Op Fl g Ar pgrp .Op Fl g Ar pgrp
.Op Fl p Ar pid .Op Fl p Ar pid
.Op Fl t Ar trstr .Op Fl t Ar trstr
.Nm ktrace .Nm
.Op Fl adi .Op Fl adi
.Op Fl f Ar trfile .Op Fl f Ar trfile
.Op Fl t Ar trstr .Op Fl t Ar trstr
command command
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm Ktrace The
enables kernel trace logging for the specified processes. .Nm
command enables kernel trace logging for the specified processes.
Kernel trace data is logged to the file Kernel trace data is logged to the file
.Pa ktrace.out . .Pa ktrace.out .
The kernel operations that are traced include system calls, namei The kernel operations that are traced include system calls, namei
@ -166,6 +168,6 @@ Only works if
is a regular file. is a regular file.
.Sh HISTORY .Sh HISTORY
The The
.Nm ktrace .Nm
command appears in command appeared in
.Bx 4.4 . .Bx 4.4 .

View file

@ -33,6 +33,7 @@
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" @(#)logname.1 8.1 (Berkeley) 6/9/93 .\" @(#)logname.1 8.1 (Berkeley) 6/9/93
.\" $Id$
.\" .\"
.Dd "June 9, 1993" .Dd "June 9, 1993"
.Dt LOGNAME 1 .Dt LOGNAME 1
@ -41,15 +42,15 @@
.Nm logname .Nm logname
.Nd display user's login name .Nd display user's login name
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm logname .Nm
.Sh DESCRIPTION .Sh DESCRIPTION
The The
.Nm logname .Nm
utility writes the user's login name to standard output followed by utility writes the user's login name to standard output followed by
a newline. a newline.
.Pp .Pp
The The
.Nm logname .Nm
utility explicitly ignores the utility explicitly ignores the
.Ev LOGNAME .Ev LOGNAME
and and
@ -58,7 +59,7 @@ environment variables
because the environment cannot be trusted. because the environment cannot be trusted.
.Pp .Pp
The The
.Nm logname .Nm
utility exits 0 on success, and >0 if an error occurs. utility exits 0 on success, and >0 if an error occurs.
.Sh SEE ALSO .Sh SEE ALSO
.Xr who 1 , .Xr who 1 ,
@ -66,11 +67,11 @@ utility exits 0 on success, and >0 if an error occurs.
.Xr getlogin 2 .Xr getlogin 2
.Sh STANDARDS .Sh STANDARDS
The The
.Nm logname .Nm
function is expected to conform to function is expected to conform to
.St -p1003.2 . .St -p1003.2 .
.Sh HISTORY .Sh HISTORY
The The
.Nm .Nm
command appears in command appeared in
.Bx 4.4 . .Bx 4.4 .

View file

@ -33,6 +33,7 @@
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" @(#)mkfifo.1 8.2 (Berkeley) 1/5/94 .\" @(#)mkfifo.1 8.2 (Berkeley) 1/5/94
.\" $Id$
.\" .\"
.Dd January 5, 1994 .Dd January 5, 1994
.Dt MKFIFO 1 .Dt MKFIFO 1
@ -41,22 +42,25 @@
.Nm mkfifo .Nm mkfifo
.Nd make fifos .Nd make fifos
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm mkfifo .Nm
.Ar fifo_name ... .Ar fifo_name ...
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm Mkfifo The
creates the fifos requested, in the order specified, .Nm
command creates the fifos requested, in the order specified,
using mode using mode
.Li \&0777 . .Li \&0777 .
.Pp .Pp
.Nm Mkfifo The
requires write permission in the parent directory. .Nm
command requires write permission in the parent directory.
.Pp .Pp
.Nm Mkfifo The
exits 0 if successful, and >0 if an error occurred. .Nm
command exits 0 if successful, and >0 if an error occurred.
.Sh STANDARDS .Sh STANDARDS
The The
.Nm mkfifo .Nm
utility is expected to be utility is expected to be
.St -p1003.2 .St -p1003.2
compliant. compliant.
@ -69,5 +73,5 @@ compliant.
.Sh HISTORY .Sh HISTORY
The The
.Nm .Nm
command appears in command appeared in
.Bx 4.4 . .Bx 4.4 .

View file

@ -30,7 +30,7 @@
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" From: @(#)nfsstat.1 8.1 (Berkeley) 6/6/93 .\" From: @(#)nfsstat.1 8.1 (Berkeley) 6/6/93
.\" $Id$ .\" $Id: nfsstat.1,v 1.6 1997/02/22 19:56:24 peter Exp $
.\" .\"
.Dd June 6, 1993 .Dd June 6, 1993
.Dt NFSSTAT 1 .Dt NFSSTAT 1
@ -41,13 +41,14 @@
.Tn NFS .Tn NFS
statistics statistics
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm nfsstat .Nm
.Op Fl M Ar core .Op Fl M Ar core
.Op Fl N Ar system .Op Fl N Ar system
.Op Fl w Ar wait .Op Fl w Ar wait
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm Nfsstat The
displays statistics kept about .Nm
command displays statistics kept about
.Tn NFS .Tn NFS
client and server activity. client and server activity.
.Pp .Pp
@ -85,6 +86,6 @@ default memory file
.Xr vmstat 8 .Xr vmstat 8
.Sh HISTORY .Sh HISTORY
The The
.Nm nfsstat .Nm
command appears in command appeared in
.Bx 4.4 . .Bx 4.4 .

View file

@ -30,6 +30,7 @@
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" @(#)shar.1 8.1 (Berkeley) 6/6/93 .\" @(#)shar.1 8.1 (Berkeley) 6/6/93
.\" $Id$
.\" .\"
.Dd June 6, 1993 .Dd June 6, 1993
.Dt SHAR 1 .Dt SHAR 1
@ -40,8 +41,9 @@
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm shar Ar .Nm shar Ar
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm Shar The
writes an .Nm
command writes a
.Xr sh 1 .Xr sh 1
shell script to the standard output which will recreate the file shell script to the standard output which will recreate the file
hierarchy specified by the command line operands. hierarchy specified by the command line operands.
@ -50,8 +52,9 @@ files they contain (the
.Xr find 1 .Xr find 1
utility does this correctly). utility does this correctly).
.Pp .Pp
.Nm Shar The
is normally used for distributing files by .Nm
command is normally used for distributing files by
.Xr ftp 1 .Xr ftp 1
or or
.Xr mail 1 . .Xr mail 1 .
@ -61,21 +64,23 @@ or
.Xr tar 1 , .Xr tar 1 ,
.Xr uuencode 1 .Xr uuencode 1
.Sh BUGS .Sh BUGS
.Nm Shar The
makes no provisions for special types of files or files containing .Nm
command makes no provisions for special types of files or files containing
magic characters. magic characters.
.Nm Shar The
cannot handle files without a newline ('\\n') .Nm
command cannot handle files without a newline ('\\n')
as the last character. as the last character.
.Pp .Pp
It is easy to insert trojan horses into It is easy to insert trojan horses into
.Nm shar .Nm
files. files.
It is strongly recommended that all shell archive files be examined It is strongly recommended that all shell archive files be examined
before running them through before running them through
.Xr sh 1 . .Xr sh 1 .
Archives produced using this implementation of Archives produced using this implementation of
.Nm shar .Nm
may be easily examined with the command: may be easily examined with the command:
.Bd -literal -offset indent .Bd -literal -offset indent
egrep -v '^[X#]' shar.file egrep -v '^[X#]' shar.file
@ -101,5 +106,5 @@ sh archive
.Sh HISTORY .Sh HISTORY
The The
.Nm .Nm
command appears in command appeared in
.Bx 4.4 . .Bx 4.4 .

View file

@ -30,6 +30,7 @@
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" @(#)tput.1 8.2 (Berkeley) 3/19/94 .\" @(#)tput.1 8.2 (Berkeley) 3/19/94
.\" $Id$
.\" .\"
.Dd March 19, 1994 .Dd March 19, 1994
.Dt TPUT 1 .Dt TPUT 1
@ -38,32 +39,37 @@
.Nm tput .Nm tput
.Nd terminal capability interface .Nd terminal capability interface
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm tput .Nm
.Op Fl T Ar term .Op Fl T Ar term
.Ar attribute .Ar attribute
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm Tput The
makes terminal-dependent information available to users or shell .Nm
command makes terminal-dependent information available to users or shell
applications. applications.
The options are as follows: The options are as follows:
.Bl -tag -width Ds .Bl -tag -width Ds
.It Fl T .It Fl T
The terminal name as specified in the The terminal name as specified in the
.Xr termcap .Xr termcap
database, for example, ``vt100'' or ``xterm''. database, for example,
.Dq vt100
or
.Dq xterm .
If not specified, If not specified,
.Nm tput .Nm
retrieves the retrieves the
.Dq Ev TERM .Dq Ev TERM
variable from the environment. variable from the environment.
.El .El
.Pp .Pp
.Nm Tput The
outputs a string if the .Nm
command outputs a string if the
.Ar attribute .Ar attribute
is of type string; a number if it is of type integer. is of type string; a number if it is of type integer.
Otherwise, Otherwise,
.Nm tput .Nm
exits 0 if the terminal has the capability and 1 if it does not, exits 0 if the terminal has the capability and 1 if it does not,
without further action. without further action.
.Pp .Pp
@ -80,36 +86,41 @@ The following special attributes are available:
.It clear .It clear
Clear the screen (the Clear the screen (the
.Xr termcap .Xr termcap
``cl'' sequence). .Dq cl
sequence).
.It init .It init
Initialize the terminal (the Initialize the terminal (the
.Xr termcap .Xr termcap
``is'' sequence). .Dq is
sequence).
.It longname .It longname
Print the descriptive name of the user's terminal type. Print the descriptive name of the user's terminal type.
.It reset .It reset
Reset the terminal (the Reset the terminal (the
.Xr termcap .Xr termcap
``rs'' sequence). .Dq rs
sequence).
.Sh DIAGNOSTICS .Sh DIAGNOSTICS
The exit value of The exit value of
.Nm tput .Nm
is based on the last attribute specified. is based on the last attribute specified.
If the attribute is of type string or of type integer, If the attribute is of type string or of type integer,
.Nm tput .Nm
exits 0 if the attribute is defined for this terminal type and 1 exits 0 if the attribute is defined for this terminal type and 1
if it is not. if it is not.
If the attribute is of type boolean, If the attribute is of type boolean,
.Nm tput .Nm
exits 0 if the terminal has this attribute, and 1 if it does not. exits 0 if the terminal has this attribute, and 1 if it does not.
.Nm Tput The
exits 2 if any error occurred. .Nm
command exits 2 if any error occurred.
.Sh SEE ALSO .Sh SEE ALSO
.Xr termcap 3 , .Xr termcap 3 ,
.Xr termcap 5 .Xr termcap 5
.Sh BUGS .Sh BUGS
.Nm Tput The
can't really distinguish between different types of attributes. .Nm
command can't really distinguish between different types of attributes.
.Pp .Pp
Some termcap entries depend upon having a Some termcap entries depend upon having a
.Sq % .Sq %
@ -121,5 +132,5 @@ stderr.
.Sh HISTORY .Sh HISTORY
The The
.Nm .Nm
command appears in command appeared in
.Bx 4.4 . .Bx 4.4 .

View file

@ -30,6 +30,7 @@
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" @(#)yyfix.1 5.4 (Berkeley) 3/23/93 .\" @(#)yyfix.1 5.4 (Berkeley) 3/23/93
.\" $Id$
.\" .\"
.Dd March 23, 1993 .Dd March 23, 1993
.Dt YYFIX 1 .Dt YYFIX 1
@ -38,12 +39,13 @@
.Nm yyfix .Nm yyfix
.Nd extract tables from y.tab.c .Nd extract tables from y.tab.c
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm yyfix .Nm
.Ar file .Ar file
.Op Ar tables .Op Ar tables
.Sh DESCRIPTION .Sh DESCRIPTION
Programs have historically used a script (often named ``:yyfix'') to Programs have historically used a script (often named
extract tables from the .Dq :yyfix )
to extract tables from the
.Xr yacc 1 .Xr yacc 1
generated file generated file
.Pa y.tab.c . .Pa y.tab.c .
@ -52,17 +54,17 @@ As the names of the tables generated by the current version of
are different from those of historical versions of are different from those of historical versions of
.Xr yacc , .Xr yacc ,
the shell script the shell script
.Nm yyfix .Nm
is provided to simplify the transition. is provided to simplify the transition.
.Pp .Pp
The first (and required) argument to The first (and required) argument to
.Nm yyfix .Nm
is the name of the file where the extracted tables should be stored. is the name of the file where the extracted tables should be stored.
.Pp .Pp
If further command line arguments are specified, they are taken as If further command line arguments are specified, they are taken as
the list of tables to be extracted. the list of tables to be extracted.
Otherwise, Otherwise,
.Nm yyfix .Nm
attempts to determine if the attempts to determine if the
.Pa y.tab.c .Pa y.tab.c
file is from an old or new file is from an old or new
@ -108,5 +110,5 @@ File from which tables are extracted.
.Sh HISTORY .Sh HISTORY
The The
.Nm .Nm
command appears in command appeared in
.Bx 4.4 . .Bx 4.4 .