mdoc(7) police: use the new features of the Nm macro.
This commit is contained in:
parent
0100fd6e93
commit
0d1334ca0c
@ -42,7 +42,7 @@
|
|||||||
.Nm chflags
|
.Nm chflags
|
||||||
.Nd change file flags
|
.Nd change file flags
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm chflags
|
.Nm
|
||||||
.Oo
|
.Oo
|
||||||
.Fl R
|
.Fl R
|
||||||
.Op Fl H | Fl L | Fl P
|
.Op Fl H | Fl L | Fl P
|
||||||
|
@ -30,11 +30,11 @@
|
|||||||
.Nm kenv
|
.Nm kenv
|
||||||
.Nd dump the kernel environment
|
.Nd dump the kernel environment
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm kenv
|
.Nm
|
||||||
.Op Fl h
|
.Op Fl h
|
||||||
.Op variable
|
.Op variable
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm kenv
|
.Nm
|
||||||
will dump the kernel environment.
|
will dump the kernel environment.
|
||||||
If the
|
If the
|
||||||
.Fl h
|
.Fl h
|
||||||
@ -45,6 +45,6 @@ will only report that value.
|
|||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr loader 8
|
.Xr loader 8
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
.Nm kenv
|
.Nm
|
||||||
appeared in
|
appeared in
|
||||||
.Fx 5.0 .
|
.Fx 5.0 .
|
||||||
|
@ -39,13 +39,13 @@
|
|||||||
.Nm apply
|
.Nm apply
|
||||||
.Nd apply a command to a set of arguments
|
.Nd apply a command to a set of arguments
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm apply
|
.Nm
|
||||||
.Op Fl a Ar c
|
.Op Fl a Ar c
|
||||||
.Op Fl d
|
.Op Fl d
|
||||||
.Op Fl #
|
.Op Fl #
|
||||||
.Ar command argument ...
|
.Ar command argument ...
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm apply
|
.Nm
|
||||||
runs the named
|
runs the named
|
||||||
.Ar command
|
.Ar command
|
||||||
on each
|
on each
|
||||||
@ -98,7 +98,7 @@ execute them.
|
|||||||
.El
|
.El
|
||||||
.Sh ENVIRONMENT
|
.Sh ENVIRONMENT
|
||||||
The following environment variable affects the execution of
|
The following environment variable affects the execution of
|
||||||
.Nm Ns :
|
.Nm :
|
||||||
.Bl -tag -width SHELL
|
.Bl -tag -width SHELL
|
||||||
.It Ev SHELL
|
.It Ev SHELL
|
||||||
Pathname of shell to use.
|
Pathname of shell to use.
|
||||||
|
@ -41,45 +41,45 @@
|
|||||||
.Nm ar
|
.Nm ar
|
||||||
.Nd create and maintain library archives
|
.Nd create and maintain library archives
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm ar
|
.Nm
|
||||||
.Fl d
|
.Fl d
|
||||||
.Op Fl \Tv
|
.Op Fl \Tv
|
||||||
.Ar archive file ...
|
.Ar archive file ...
|
||||||
.Nm ar
|
.Nm
|
||||||
.Fl m
|
.Fl m
|
||||||
.Op Fl \Tv
|
.Op Fl \Tv
|
||||||
.Ar archive file ...
|
.Ar archive file ...
|
||||||
.Nm ar
|
.Nm
|
||||||
.Fl m
|
.Fl m
|
||||||
.Op Fl abiTv
|
.Op Fl abiTv
|
||||||
.Ar position archive file ...
|
.Ar position archive file ...
|
||||||
.Nm ar
|
.Nm
|
||||||
.Fl p
|
.Fl p
|
||||||
.Op Fl \Tv
|
.Op Fl \Tv
|
||||||
.Ar archive [file ...]
|
.Ar archive [file ...]
|
||||||
.Nm ar
|
.Nm
|
||||||
.Fl q
|
.Fl q
|
||||||
.Op Fl cTv
|
.Op Fl cTv
|
||||||
.Ar archive file ...
|
.Ar archive file ...
|
||||||
.Nm ar
|
.Nm
|
||||||
.Fl r
|
.Fl r
|
||||||
.Op Fl cuTv
|
.Op Fl cuTv
|
||||||
.Ar archive file ...
|
.Ar archive file ...
|
||||||
.Nm ar
|
.Nm
|
||||||
.Fl r
|
.Fl r
|
||||||
.Op Fl abciuTv
|
.Op Fl abciuTv
|
||||||
.Ar position archive file ...
|
.Ar position archive file ...
|
||||||
.Nm ar
|
.Nm
|
||||||
.Fl t
|
.Fl t
|
||||||
.Op Fl \Tv
|
.Op Fl \Tv
|
||||||
.Ar archive [file ...]
|
.Ar archive [file ...]
|
||||||
.Nm ar
|
.Nm
|
||||||
.Fl x
|
.Fl x
|
||||||
.Op Fl ouTv
|
.Op Fl ouTv
|
||||||
.Ar archive [file ...]
|
.Ar archive [file ...]
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The
|
The
|
||||||
.Nm ar
|
.Nm
|
||||||
utility creates and maintains groups of files combined into an archive.
|
utility creates and maintains groups of files combined into an archive.
|
||||||
Once an archive has been created, new files can be added and existing
|
Once an archive has been created, new files can be added and existing
|
||||||
files can be extracted, deleted, or replaced.
|
files can be extracted, deleted, or replaced.
|
||||||
@ -98,7 +98,7 @@ on the command line to ``select'' archive files for an operation, only the
|
|||||||
file with a matching name will be selected.
|
file with a matching name will be selected.
|
||||||
.Pp
|
.Pp
|
||||||
The normal use of
|
The normal use of
|
||||||
.Nm ar
|
.Nm
|
||||||
is for the creation and maintenance of libraries suitable for use with
|
is for the creation and maintenance of libraries suitable for use with
|
||||||
the loader (see
|
the loader (see
|
||||||
.Xr ld 1 )
|
.Xr ld 1 )
|
||||||
@ -131,7 +131,7 @@ is written to standard error.
|
|||||||
If the
|
If the
|
||||||
.Fl c
|
.Fl c
|
||||||
option is specified,
|
option is specified,
|
||||||
.Nm ar
|
.Nm
|
||||||
creates the archive silently.
|
creates the archive silently.
|
||||||
.It Fl d
|
.It Fl d
|
||||||
Delete the specified archive files.
|
Delete the specified archive files.
|
||||||
@ -218,14 +218,14 @@ When used with the
|
|||||||
or
|
or
|
||||||
.Fl x
|
.Fl x
|
||||||
options,
|
options,
|
||||||
.Nm ar
|
.Nm
|
||||||
gives a file-by-file description of the archive modification.
|
gives a file-by-file description of the archive modification.
|
||||||
This description consists of three, white-space separated fields: the
|
This description consists of three, white-space separated fields: the
|
||||||
option letter, a dash (``-'') and the file name.
|
option letter, a dash (``-'') and the file name.
|
||||||
When used with the
|
When used with the
|
||||||
.Fl r
|
.Fl r
|
||||||
option,
|
option,
|
||||||
.Nm ar
|
.Nm
|
||||||
displays the description as above, but the initial letter is an ``a'' if
|
displays the description as above, but the initial letter is an ``a'' if
|
||||||
the file is added to the archive and an ``r'' if the file replaces a file
|
the file is added to the archive and an ``r'' if the file replaces a file
|
||||||
already in the archive.
|
already in the archive.
|
||||||
@ -243,7 +243,7 @@ followed by two newline characters.
|
|||||||
When used with the
|
When used with the
|
||||||
.Fl t
|
.Fl t
|
||||||
option,
|
option,
|
||||||
.Nm ar
|
.Nm
|
||||||
displays an ``ls -l'' style listing of information about the members of
|
displays an ``ls -l'' style listing of information about the members of
|
||||||
the archive.
|
the archive.
|
||||||
This listing consists of eight, white-space separated fields:
|
This listing consists of eight, white-space separated fields:
|
||||||
@ -271,7 +271,7 @@ extracted file or the super-user.
|
|||||||
.El
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
The
|
The
|
||||||
.Nm ar
|
.Nm
|
||||||
utility exits 0 on success, and >0 if an error occurs.
|
utility exits 0 on success, and >0 if an error occurs.
|
||||||
.Sh ENVIRONMENT
|
.Sh ENVIRONMENT
|
||||||
.Bl -tag -width indent -compact
|
.Bl -tag -width indent -compact
|
||||||
@ -287,14 +287,14 @@ temporary file names
|
|||||||
.El
|
.El
|
||||||
.Sh COMPATIBILITY
|
.Sh COMPATIBILITY
|
||||||
By default,
|
By default,
|
||||||
.Nm ar
|
.Nm
|
||||||
writes archives that may be incompatible with historic archives, as
|
writes archives that may be incompatible with historic archives, as
|
||||||
the format used for storing archive members with names longer than
|
the format used for storing archive members with names longer than
|
||||||
fifteen characters has changed.
|
fifteen characters has changed.
|
||||||
This implementation of
|
This implementation of
|
||||||
.Nm ar
|
.Nm
|
||||||
is backward compatible with previous versions of
|
is backward compatible with previous versions of
|
||||||
.Nm ar
|
.Nm
|
||||||
in that it can read and write (using the
|
in that it can read and write (using the
|
||||||
.Fl T
|
.Fl T
|
||||||
option) historic archives.
|
option) historic archives.
|
||||||
@ -307,7 +307,7 @@ See
|
|||||||
for more information.
|
for more information.
|
||||||
.Sh STANDARDS
|
.Sh STANDARDS
|
||||||
The
|
The
|
||||||
.Nm ar
|
.Nm
|
||||||
utility is expected to offer a superset of the
|
utility is expected to offer a superset of the
|
||||||
.St -p1003.2
|
.St -p1003.2
|
||||||
functionality.
|
functionality.
|
||||||
|
@ -42,14 +42,14 @@
|
|||||||
.Fd #include <ar.h>
|
.Fd #include <ar.h>
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The archive command
|
The archive command
|
||||||
.Nm ar
|
.Nm
|
||||||
combines several files into one.
|
combines several files into one.
|
||||||
Archives are mainly used as libraries of object files intended to be
|
Archives are mainly used as libraries of object files intended to be
|
||||||
loaded using the link-editor
|
loaded using the link-editor
|
||||||
.Xr ld 1 .
|
.Xr ld 1 .
|
||||||
.Pp
|
.Pp
|
||||||
A file created with
|
A file created with
|
||||||
.Nm ar
|
.Nm
|
||||||
begins with the ``magic'' string "!<arch>\en".
|
begins with the ``magic'' string "!<arch>\en".
|
||||||
The rest of the archive is made up of objects, each of which is composed
|
The rest of the archive is made up of objects, each of which is composed
|
||||||
of a header for a file, a possible file name, and the file contents.
|
of a header for a file, a possible file name, and the file contents.
|
||||||
@ -108,7 +108,7 @@ character, although the size in the header does not reflect this.
|
|||||||
.Xr stat 2
|
.Xr stat 2
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
There have been at least four
|
There have been at least four
|
||||||
.Nm ar
|
.Nm
|
||||||
formats.
|
formats.
|
||||||
The first was denoted by the leading ``magic'' number 0177555 (stored as
|
The first was denoted by the leading ``magic'' number 0177555 (stored as
|
||||||
type int).
|
type int).
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
.Nm banner
|
.Nm banner
|
||||||
.Nd print large banner on printer
|
.Nd print large banner on printer
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm banner
|
.Nm
|
||||||
.Op Fl d
|
.Op Fl d
|
||||||
.Op Fl t
|
.Op Fl t
|
||||||
.Op Fl w Ar width
|
.Op Fl w Ar width
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
.Nm basename , dirname
|
.Nm basename , dirname
|
||||||
.Nd return filename or directory portion of pathname
|
.Nd return filename or directory portion of pathname
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm basename
|
.Nm
|
||||||
.Ar string
|
.Ar string
|
||||||
.Op Ar suffix
|
.Op Ar suffix
|
||||||
.Nm dirname
|
.Nm dirname
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
.Nm biff
|
.Nm biff
|
||||||
.Nd "be notified if mail arrives and who it is from"
|
.Nd "be notified if mail arrives and who it is from"
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm biff
|
.Nm
|
||||||
.Op Cm n | y
|
.Op Cm n | y
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm Biff
|
.Nm Biff
|
||||||
@ -47,7 +47,7 @@ informs the system whether you want to be notified when mail arrives
|
|||||||
during the current terminal session.
|
during the current terminal session.
|
||||||
.Pp
|
.Pp
|
||||||
Options supported by
|
Options supported by
|
||||||
.Nm biff :
|
.Nm :
|
||||||
.Bl -tag -width 4n
|
.Bl -tag -width 4n
|
||||||
.It Cm n
|
.It Cm n
|
||||||
Disables notification.
|
Disables notification.
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
.Nm c89
|
.Nm c89
|
||||||
.Nd Posix.2 C language compiler
|
.Nd Posix.2 C language compiler
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm c89
|
.Nm
|
||||||
.Op Fl c
|
.Op Fl c
|
||||||
.Op Fl D Ar name Ns Op Ar =value
|
.Op Fl D Ar name Ns Op Ar =value
|
||||||
.Op ...
|
.Op ...
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
.Nm calendar
|
.Nm calendar
|
||||||
.Nd reminder service
|
.Nd reminder service
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm calendar
|
.Nm
|
||||||
.Op Fl a
|
.Op Fl a
|
||||||
.Op Fl A Ar num
|
.Op Fl A Ar num
|
||||||
.Op Fl B Ar num
|
.Op Fl B Ar num
|
||||||
@ -169,7 +169,7 @@ file in current directory
|
|||||||
.It Pa ~/.calendar
|
.It Pa ~/.calendar
|
||||||
.Pa calendar
|
.Pa calendar
|
||||||
HOME directory.
|
HOME directory.
|
||||||
.Nm calendar
|
.Nm
|
||||||
does a chdir into this directory if it exists.
|
does a chdir into this directory if it exists.
|
||||||
.It Pa ~/.calendar/calendar
|
.It Pa ~/.calendar/calendar
|
||||||
calendar file to use if no calendar file exists in the current directory.
|
calendar file to use if no calendar file exists in the current directory.
|
||||||
@ -217,7 +217,7 @@ Russian calendar.
|
|||||||
.Xr cron 8
|
.Xr cron 8
|
||||||
.Sh COMPATIBILITY
|
.Sh COMPATIBILITY
|
||||||
The
|
The
|
||||||
.Nm calendar
|
.Nm
|
||||||
program previously selected lines which had the correct date anywhere
|
program previously selected lines which had the correct date anywhere
|
||||||
in the line.
|
in the line.
|
||||||
This is no longer true, the date is only recognized when it occurs
|
This is no longer true, the date is only recognized when it occurs
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
.Nm cap_mkdb
|
.Nm cap_mkdb
|
||||||
.Nd create capability database
|
.Nd create capability database
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm cap_mkdb
|
.Nm
|
||||||
.Op Fl v
|
.Op Fl v
|
||||||
.Op Fl f Ar outfile
|
.Op Fl f Ar outfile
|
||||||
.Ar file
|
.Ar file
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
.Nm checknr
|
.Nm checknr
|
||||||
.Nd check nroff/troff files
|
.Nd check nroff/troff files
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm checknr
|
.Nm
|
||||||
.Op Fl a Ns Ar \&.x1.y1.x2.y2. ... \&.xn.yn
|
.Op Fl a Ns Ar \&.x1.y1.x2.y2. ... \&.xn.yn
|
||||||
.Op Fl c Ns Ar \&.x1.x2.x3 ... \&.xn
|
.Op Fl c Ns Ar \&.x1.x2.x3 ... \&.xn
|
||||||
.Op Fl s
|
.Op Fl s
|
||||||
@ -55,7 +55,7 @@ input files for certain kinds of errors
|
|||||||
involving mismatched opening and closing delimiters
|
involving mismatched opening and closing delimiters
|
||||||
and unknown commands.
|
and unknown commands.
|
||||||
If no files are specified,
|
If no files are specified,
|
||||||
.Nm checknr
|
.Nm
|
||||||
checks the standard input.
|
checks the standard input.
|
||||||
.Pp
|
.Pp
|
||||||
Options:
|
Options:
|
||||||
@ -76,7 +76,7 @@ Define commands which would otherwise be complained about
|
|||||||
as undefined.
|
as undefined.
|
||||||
.It Fl f
|
.It Fl f
|
||||||
Request
|
Request
|
||||||
.Nm checknr
|
.Nm
|
||||||
to ignore
|
to ignore
|
||||||
.Ql \ef
|
.Ql \ef
|
||||||
font changes.
|
font changes.
|
||||||
@ -99,7 +99,7 @@ the .TS and .TE macros which must always come in pairs.
|
|||||||
.Pp
|
.Pp
|
||||||
.Nm Checknr
|
.Nm Checknr
|
||||||
is intended for use on documents that are prepared with
|
is intended for use on documents that are prepared with
|
||||||
.Nm checknr
|
.Nm
|
||||||
in mind, much the same as
|
in mind, much the same as
|
||||||
.Xr lint 1 .
|
.Xr lint 1 .
|
||||||
It expects a certain document writing style for
|
It expects a certain document writing style for
|
||||||
@ -120,7 +120,7 @@ While it will work to directly go into the next font or explicitly
|
|||||||
specify the original font or point size,
|
specify the original font or point size,
|
||||||
and many existing documents actually do this,
|
and many existing documents actually do this,
|
||||||
such a practice will produce complaints from
|
such a practice will produce complaints from
|
||||||
.Nm checknr .
|
.Nm .
|
||||||
Since it is probably better to use the
|
Since it is probably better to use the
|
||||||
.Ql \efP
|
.Ql \efP
|
||||||
and
|
and
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
.Nm chflags
|
.Nm chflags
|
||||||
.Nd change file flags
|
.Nd change file flags
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm chflags
|
.Nm
|
||||||
.Oo
|
.Oo
|
||||||
.Fl R
|
.Fl R
|
||||||
.Op Fl H | Fl L | Fl P
|
.Op Fl H | Fl L | Fl P
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
.Nm chkey
|
.Nm chkey
|
||||||
.Nd change your encryption key
|
.Nd change your encryption key
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm chkey
|
.Nm
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm Chkey
|
.Nm Chkey
|
||||||
prompts the user for their login password,
|
prompts the user for their login password,
|
||||||
|
@ -44,14 +44,14 @@
|
|||||||
.Nm ypchsh
|
.Nm ypchsh
|
||||||
.Nd add or change user database information
|
.Nd add or change user database information
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm chpass
|
.Nm
|
||||||
.Op Fl a Ar list
|
.Op Fl a Ar list
|
||||||
.Op Fl p Ar encpass
|
.Op Fl p Ar encpass
|
||||||
.Op Fl e Ar expiretime
|
.Op Fl e Ar expiretime
|
||||||
.Op Fl s Ar newshell
|
.Op Fl s Ar newshell
|
||||||
.Op user
|
.Op user
|
||||||
.Pp
|
.Pp
|
||||||
.Nm chpass
|
.Nm
|
||||||
.Op Fl oly
|
.Op Fl oly
|
||||||
.Op Fl a Ar list
|
.Op Fl a Ar list
|
||||||
.Op Fl p Ar encpass
|
.Op Fl p Ar encpass
|
||||||
@ -363,7 +363,7 @@ will refuse to update the NIS maps.
|
|||||||
.Pp
|
.Pp
|
||||||
Exception: the super-user on the NIS master server is permitted to
|
Exception: the super-user on the NIS master server is permitted to
|
||||||
change a user's NIS password with
|
change a user's NIS password with
|
||||||
.Nm Ns .
|
.Nm .
|
||||||
.El
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
There are also a few extra option flags that are available when
|
There are also a few extra option flags that are available when
|
||||||
@ -472,11 +472,11 @@ The
|
|||||||
and
|
and
|
||||||
.Xr ypchsh 1
|
.Xr ypchsh 1
|
||||||
commands are really only links to
|
commands are really only links to
|
||||||
.Nm Ns .
|
.Nm .
|
||||||
.Sh BUGS
|
.Sh BUGS
|
||||||
User information should (and eventually will) be stored elsewhere.
|
User information should (and eventually will) be stored elsewhere.
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
The
|
The
|
||||||
.Nm chpass
|
.Nm
|
||||||
command appeared in
|
command appeared in
|
||||||
.Bx 4.3 Reno .
|
.Bx 4.3 Reno .
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
.Nm sum
|
.Nm sum
|
||||||
.Nd display file checksums and block counts
|
.Nd display file checksums and block counts
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm cksum
|
.Nm
|
||||||
.Oo
|
.Oo
|
||||||
.Fl o Ar \&1 Xo
|
.Fl o Ar \&1 Xo
|
||||||
.No \&|
|
.No \&|
|
||||||
|
@ -42,18 +42,18 @@
|
|||||||
.Nm cmp
|
.Nm cmp
|
||||||
.Nd compare two files
|
.Nd compare two files
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm cmp
|
.Nm
|
||||||
.Op Fl l | Fl s | Fl x
|
.Op Fl l | Fl s | Fl x
|
||||||
.Op Fl z
|
.Op Fl z
|
||||||
.Ar file1 file2
|
.Ar file1 file2
|
||||||
.Op Ar skip1 Op Ar skip2
|
.Op Ar skip1 Op Ar skip2
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The
|
The
|
||||||
.Nm cmp
|
.Nm
|
||||||
utility compares two files of any type and writes the results
|
utility compares two files of any type and writes the results
|
||||||
to the standard output.
|
to the standard output.
|
||||||
By default,
|
By default,
|
||||||
.Nm cmp
|
.Nm
|
||||||
is silent if the files are the same; if they differ, the byte
|
is silent if the files are the same; if they differ, the byte
|
||||||
and line number at which the first difference occurred is reported.
|
and line number at which the first difference occurred is reported.
|
||||||
.Pp
|
.Pp
|
||||||
@ -90,7 +90,7 @@ The offset is decimal by default, but may be expressed as an hexadecimal
|
|||||||
or octal value by preceding it with a leading ``0x'' or ``0''.
|
or octal value by preceding it with a leading ``0x'' or ``0''.
|
||||||
.Pp
|
.Pp
|
||||||
The
|
The
|
||||||
.Nm cmp
|
.Nm
|
||||||
utility exits with one of the following values:
|
utility exits with one of the following values:
|
||||||
.Bl -tag -width 4n
|
.Bl -tag -width 4n
|
||||||
.It 0
|
.It 0
|
||||||
@ -102,7 +102,7 @@ the other.
|
|||||||
In the latter case, if the
|
In the latter case, if the
|
||||||
.Fl s
|
.Fl s
|
||||||
option has not been specified,
|
option has not been specified,
|
||||||
.Nm cmp
|
.Nm
|
||||||
writes to standard error that EOF was reached in the shorter
|
writes to standard error that EOF was reached in the shorter
|
||||||
file (before any differences were found).
|
file (before any differences were found).
|
||||||
.It >1
|
.It >1
|
||||||
@ -113,12 +113,12 @@ An error occurred.
|
|||||||
.Xr diff3 1
|
.Xr diff3 1
|
||||||
.Sh STANDARDS
|
.Sh STANDARDS
|
||||||
The
|
The
|
||||||
.Nm cmp
|
.Nm
|
||||||
utility is expected to be
|
utility is expected to be
|
||||||
.St -p1003.2
|
.St -p1003.2
|
||||||
compatible.
|
compatible.
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
A
|
A
|
||||||
.Nm cmp
|
.Nm
|
||||||
command appeared in
|
command appeared in
|
||||||
.At v1 .
|
.At v1 .
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
.Nm col
|
.Nm col
|
||||||
.Nd filter reverse line feeds from input
|
.Nd filter reverse line feeds from input
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm col
|
.Nm
|
||||||
.Op Fl bfx
|
.Op Fl bfx
|
||||||
.Op Fl l Ar num
|
.Op Fl l Ar num
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
.Nm colcrt
|
.Nm colcrt
|
||||||
.Nd filter nroff output for CRT previewing
|
.Nd filter nroff output for CRT previewing
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm colcrt
|
.Nm
|
||||||
.Op Fl
|
.Op Fl
|
||||||
.Op Fl \&2
|
.Op Fl \&2
|
||||||
.Op Ar
|
.Op Ar
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
.Nm colldef
|
.Nm colldef
|
||||||
.Nd convert collation sequence source definition
|
.Nd convert collation sequence source definition
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm colldef
|
.Nm
|
||||||
.Op Fl I Ar map_dir
|
.Op Fl I Ar map_dir
|
||||||
.Op Fl o Ar out_file
|
.Op Fl o Ar out_file
|
||||||
.Op Ar filename
|
.Op Ar filename
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
.Nm colrm
|
.Nm colrm
|
||||||
.Nd remove columns from a file
|
.Nd remove columns from a file
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm colrm
|
.Nm
|
||||||
.Op Ar start Op Ar stop
|
.Op Ar start Op Ar stop
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm Colrm
|
.Nm Colrm
|
||||||
@ -74,6 +74,6 @@ Backspace characters decrement the column count by one.
|
|||||||
.Xr paste 1
|
.Xr paste 1
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
The
|
The
|
||||||
.Nm colrm
|
.Nm
|
||||||
command appeared in
|
command appeared in
|
||||||
.Bx 3.0 .
|
.Bx 3.0 .
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
.Nm column
|
.Nm column
|
||||||
.Nd columnate lists
|
.Nd columnate lists
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm column
|
.Nm
|
||||||
.Op Fl tx
|
.Op Fl tx
|
||||||
.Op Fl c Ar columns
|
.Op Fl c Ar columns
|
||||||
.Op Fl s Ar sep
|
.Op Fl s Ar sep
|
||||||
|
@ -42,12 +42,12 @@
|
|||||||
.Nm comm
|
.Nm comm
|
||||||
.Nd select or reject lines common to two files
|
.Nd select or reject lines common to two files
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm comm
|
.Nm
|
||||||
.Op Fl 123i
|
.Op Fl 123i
|
||||||
.Ar file1 file2
|
.Ar file1 file2
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The
|
The
|
||||||
.Nm comm
|
.Nm
|
||||||
utility reads
|
utility reads
|
||||||
.Ar file1
|
.Ar file1
|
||||||
and
|
and
|
||||||
@ -93,6 +93,6 @@ exits 0 on success, >0 if an error occurred.
|
|||||||
.Xr uniq 1
|
.Xr uniq 1
|
||||||
.Sh STANDARDS
|
.Sh STANDARDS
|
||||||
The
|
The
|
||||||
.Nm comm
|
.Nm
|
||||||
utility conforms to
|
utility conforms to
|
||||||
.St -p1003.2-92 .
|
.St -p1003.2-92 .
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
.Nm zcat
|
.Nm zcat
|
||||||
.Nd compress and expand data
|
.Nd compress and expand data
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm compress
|
.Nm
|
||||||
.Op Fl cfv
|
.Op Fl cfv
|
||||||
.Op Fl b Ar bits
|
.Op Fl b Ar bits
|
||||||
.Op Ar
|
.Op Ar
|
||||||
|
@ -129,7 +129,7 @@ or
|
|||||||
.Xr funopen 3
|
.Xr funopen 3
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
The
|
The
|
||||||
.Nm zopen
|
.Nm
|
||||||
function
|
function
|
||||||
first appeared in
|
first appeared in
|
||||||
.Bx 4.4 .
|
.Bx 4.4 .
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
.Nm ctags
|
.Nm ctags
|
||||||
.Nd create a tags file
|
.Nd create a tags file
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm ctags
|
.Nm
|
||||||
.Op Fl BFadtuwvx
|
.Op Fl BFadtuwvx
|
||||||
.Op Fl f Ar tagsfile
|
.Op Fl f Ar tagsfile
|
||||||
.Ar name ...
|
.Ar name ...
|
||||||
@ -61,7 +61,7 @@ file,
|
|||||||
.Xr ex 1
|
.Xr ex 1
|
||||||
can quickly locate these object definitions.
|
can quickly locate these object definitions.
|
||||||
Depending upon the options provided to
|
Depending upon the options provided to
|
||||||
.Nm ctags ,
|
.Nm ,
|
||||||
objects will consist of subroutines, typedefs, defines, structs,
|
objects will consist of subroutines, typedefs, defines, structs,
|
||||||
enums and unions.
|
enums and unions.
|
||||||
.Bl -tag -width Ds
|
.Bl -tag -width Ds
|
||||||
@ -114,7 +114,7 @@ vgrind \-x index
|
|||||||
.It Fl w
|
.It Fl w
|
||||||
suppress warning diagnostics.
|
suppress warning diagnostics.
|
||||||
.It Fl x
|
.It Fl x
|
||||||
.Nm ctags
|
.Nm
|
||||||
produces a list of object
|
produces a list of object
|
||||||
names, the line number and file name on which each is defined, as well
|
names, the line number and file name on which each is defined, as well
|
||||||
as the text of that line and prints this on the standard output. This
|
as the text of that line and prints this on the standard output. This
|
||||||
@ -152,7 +152,7 @@ trailing
|
|||||||
.Nm \&.c
|
.Nm \&.c
|
||||||
and any leading pathname components removed. This
|
and any leading pathname components removed. This
|
||||||
makes use of
|
makes use of
|
||||||
.Nm ctags
|
.Nm
|
||||||
practical in directories with more than one
|
practical in directories with more than one
|
||||||
program.
|
program.
|
||||||
.Pp
|
.Pp
|
||||||
|
@ -42,21 +42,21 @@
|
|||||||
.Nm cut
|
.Nm cut
|
||||||
.Nd select portions of each line of a file
|
.Nd select portions of each line of a file
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm cut
|
.Nm
|
||||||
.Fl b Ar list
|
.Fl b Ar list
|
||||||
.Op Fl n
|
.Op Fl n
|
||||||
.Op Ar
|
.Op Ar
|
||||||
.Nm cut
|
.Nm
|
||||||
.Fl c Ar list
|
.Fl c Ar list
|
||||||
.Op Ar
|
.Op Ar
|
||||||
.Nm cut
|
.Nm
|
||||||
.Fl f Ar list
|
.Fl f Ar list
|
||||||
.Op Fl d Ar delim
|
.Op Fl d Ar delim
|
||||||
.Op Fl s
|
.Op Fl s
|
||||||
.Op Ar
|
.Op Ar
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The
|
The
|
||||||
.Nm cut
|
.Nm
|
||||||
utility selects portions of each line (as specified by
|
utility selects portions of each line (as specified by
|
||||||
.Ar list )
|
.Ar list )
|
||||||
from each
|
from each
|
||||||
@ -112,12 +112,12 @@ Unless specified, lines with no delimiters are passed through unmodified.
|
|||||||
.El
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
The
|
The
|
||||||
.Nm cut
|
.Nm
|
||||||
utility exits with 0 on success or 1 if an error occurred.
|
utility exits with 0 on success or 1 if an error occurred.
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr paste 1
|
.Xr paste 1
|
||||||
.Sh STANDARDS
|
.Sh STANDARDS
|
||||||
The
|
The
|
||||||
.Nm cut
|
.Nm
|
||||||
utility conforms to
|
utility conforms to
|
||||||
.St -p1003.2-92 .
|
.St -p1003.2-92 .
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
.Nm doscmd
|
.Nm doscmd
|
||||||
.Nd run a subset of real-mode DOS programs
|
.Nd run a subset of real-mode DOS programs
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm doscmd
|
.Nm
|
||||||
.Fl 23AbDEfHIMOPRrtVvXxYz
|
.Fl 23AbDEfHIMOPRrtVvXxYz
|
||||||
.Fl c Ar file
|
.Fl c Ar file
|
||||||
.Fl d Ar file
|
.Fl d Ar file
|
||||||
@ -60,7 +60,7 @@ or it can be used to emulate a PC and boot DOS,
|
|||||||
which allows it to run a larger variety of DOS applications.
|
which allows it to run a larger variety of DOS applications.
|
||||||
It should be noted that MS DOS 6.2 and higher appear
|
It should be noted that MS DOS 6.2 and higher appear
|
||||||
to cause difficulties for
|
to cause difficulties for
|
||||||
.Nm doscmd.
|
.Nm .
|
||||||
To boot DOS, either provide the
|
To boot DOS, either provide the
|
||||||
.Fl b
|
.Fl b
|
||||||
flag or omit the
|
flag or omit the
|
||||||
@ -75,18 +75,18 @@ and
|
|||||||
are ignored.
|
are ignored.
|
||||||
.Pp
|
.Pp
|
||||||
Although
|
Although
|
||||||
.Nm doscmd
|
.Nm
|
||||||
only provides a subset of DOS, it is sufficient to run a variety of
|
only provides a subset of DOS, it is sufficient to run a variety of
|
||||||
programs, including, but not limited to, compilers, assemblers and
|
programs, including, but not limited to, compilers, assemblers and
|
||||||
linker-loaders.
|
linker-loaders.
|
||||||
.Pp
|
.Pp
|
||||||
The various flags available to
|
The various flags available to
|
||||||
.Nm doscmd
|
.Nm
|
||||||
are:
|
are:
|
||||||
.Bl -tag -width indent
|
.Bl -tag -width indent
|
||||||
.It Fl 2
|
.It Fl 2
|
||||||
Enable debugging traces of every trap to the
|
Enable debugging traces of every trap to the
|
||||||
.Nm doscmd
|
.Nm
|
||||||
emulator from the DOS program.
|
emulator from the DOS program.
|
||||||
Note that some traps are handled in the kernel and hence will not
|
Note that some traps are handled in the kernel and hence will not
|
||||||
be traced.
|
be traced.
|
||||||
@ -275,14 +275,14 @@ Enable debugging of the EMS operations.
|
|||||||
.\"
|
.\"
|
||||||
.It Fl z
|
.It Fl z
|
||||||
Cause
|
Cause
|
||||||
.Nm doscmd
|
.Nm
|
||||||
to pause just prior to jumping to the DOS program.
|
to pause just prior to jumping to the DOS program.
|
||||||
Very little use except for developing
|
Very little use except for developing
|
||||||
.Nm doscmd .
|
.Nm .
|
||||||
.El
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
When starting up,
|
When starting up,
|
||||||
.Nm doscmd
|
.Nm
|
||||||
attempts to read a configuration file. First the file
|
attempts to read a configuration file. First the file
|
||||||
.Cm .doscmdrc
|
.Cm .doscmdrc
|
||||||
in the current directory. If not found there, the
|
in the current directory. If not found there, the
|
||||||
@ -318,7 +318,7 @@ is tried.
|
|||||||
.Ar path
|
.Ar path
|
||||||
.Xc
|
.Xc
|
||||||
Assigns the
|
Assigns the
|
||||||
.Nm BSD/OS
|
.Tn BSD/OS
|
||||||
directory
|
directory
|
||||||
.Ar path
|
.Ar path
|
||||||
to be assigned as the specified drive. If the
|
to be assigned as the specified drive. If the
|
||||||
@ -510,18 +510,17 @@ the DOS environment. These are:
|
|||||||
.It Cm MS_VERSION
|
.It Cm MS_VERSION
|
||||||
The value of this variable is used to determine the version of DOS that
|
The value of this variable is used to determine the version of DOS that
|
||||||
should be reported by
|
should be reported by
|
||||||
.Nm doscmd .
|
.Nm .
|
||||||
Note that
|
Note that
|
||||||
.Nm doscmd
|
.Nm
|
||||||
will not change the way
|
will not change the way
|
||||||
it works, just the way it reports. By default this value is
|
it works, just the way it reports. By default this value is
|
||||||
.Cm 410 ,
|
.Cm 410 ,
|
||||||
which corresponds to
|
which corresponds to
|
||||||
.Nm "MS DOS
|
.Tn "MS DOS
|
||||||
version
|
version 4.1.
|
||||||
.Nm 4.1 .
|
|
||||||
To change it to version 3.2 (the default in previous versions of
|
To change it to version 3.2 (the default in previous versions of
|
||||||
.Nm doscmd )
|
.Nm )
|
||||||
use the value of
|
use the value of
|
||||||
.Cm 320 .
|
.Cm 320 .
|
||||||
.It Cm X11_FONT
|
.It Cm X11_FONT
|
||||||
@ -540,9 +539,9 @@ to let the X server find it.
|
|||||||
.Sh FILE TRANSLATION
|
.Sh FILE TRANSLATION
|
||||||
.Nm Doscmd
|
.Nm Doscmd
|
||||||
translates
|
translates
|
||||||
.Nm BSD/OS
|
.Tn BSD/OS
|
||||||
file names into
|
file names into
|
||||||
.Nm DOS
|
.Tn DOS
|
||||||
file names by converting to all upper case and eliminating any invalid
|
file names by converting to all upper case and eliminating any invalid
|
||||||
character. It does not make any attempt to convert ASCII files into
|
character. It does not make any attempt to convert ASCII files into
|
||||||
the
|
the
|
||||||
@ -729,7 +728,7 @@ naming problems.
|
|||||||
.Sh DIAGNOSTICS
|
.Sh DIAGNOSTICS
|
||||||
.Pp
|
.Pp
|
||||||
If
|
If
|
||||||
.Nm doscmd
|
.Nm
|
||||||
encounters an interrupt which is unimplemented, it will print a message
|
encounters an interrupt which is unimplemented, it will print a message
|
||||||
such as:
|
such as:
|
||||||
.Pp
|
.Pp
|
||||||
@ -757,5 +756,5 @@ in the source directory (normally
|
|||||||
.An Paul Borman
|
.An Paul Borman
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
The
|
The
|
||||||
.Nm doscmd
|
.Nm
|
||||||
program first appeared in BSD/386.
|
program first appeared in BSD/386.
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
.Nm du
|
.Nm du
|
||||||
.Nd display disk usage statistics
|
.Nd display disk usage statistics
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm du
|
.Nm
|
||||||
.Op Fl P | Fl H | Fl L
|
.Op Fl P | Fl H | Fl L
|
||||||
.Op Fl a | s | d Ar depth
|
.Op Fl a | s | d Ar depth
|
||||||
.Op Fl c
|
.Op Fl c
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
.Nm ee
|
.Nm ee
|
||||||
.Nd easy editor
|
.Nd easy editor
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm ee
|
.Nm
|
||||||
.Op Fl eih
|
.Op Fl eih
|
||||||
.Op +#
|
.Op +#
|
||||||
.Op Ar
|
.Op Ar
|
||||||
@ -24,7 +24,7 @@ mode unless there is a prompt at the bottom of the terminal, or a
|
|||||||
menu present (in a box in the middle of the terminal). The command
|
menu present (in a box in the middle of the terminal). The command
|
||||||
.Nm ree
|
.Nm ree
|
||||||
is the same as
|
is the same as
|
||||||
.Nm Ns ,
|
.Nm ,
|
||||||
but restricted to editing the named
|
but restricted to editing the named
|
||||||
file (no file operations, or shell escapes are allowed).
|
file (no file operations, or shell escapes are allowed).
|
||||||
.Pp
|
.Pp
|
||||||
@ -307,7 +307,7 @@ format paragraphs. The automatic mode may be set via a menu, or via the
|
|||||||
initialization file.
|
initialization file.
|
||||||
.Pp
|
.Pp
|
||||||
There are three states for text operation in
|
There are three states for text operation in
|
||||||
.Nm Ns :
|
.Nm :
|
||||||
free-form, margins,
|
free-form, margins,
|
||||||
and automatic formatting.
|
and automatic formatting.
|
||||||
.Pp
|
.Pp
|
||||||
@ -359,7 +359,7 @@ You may set these modes via the initialization file (see below), or with a
|
|||||||
menu (see above).
|
menu (see above).
|
||||||
.Ss "Spell Checking"
|
.Ss "Spell Checking"
|
||||||
There are two ways to have the spelling in the text checked from
|
There are two ways to have the spelling in the text checked from
|
||||||
.Nm Ns .
|
.Nm .
|
||||||
One is by the traditional
|
One is by the traditional
|
||||||
.Xr spell 1
|
.Xr spell 1
|
||||||
command, the other is with the
|
command, the other is with the
|
||||||
@ -423,7 +423,7 @@ Since different users have different preferences,
|
|||||||
allows some
|
allows some
|
||||||
slight configurability. There are three possible locations for an
|
slight configurability. There are three possible locations for an
|
||||||
initialization file for
|
initialization file for
|
||||||
.Nm Ns :
|
.Nm :
|
||||||
the file
|
the file
|
||||||
.Pa /usr/share/misc/init.ee ,
|
.Pa /usr/share/misc/init.ee ,
|
||||||
the file
|
the file
|
||||||
|
@ -59,7 +59,7 @@ examined with
|
|||||||
.Xr ps 1 .
|
.Xr ps 1 .
|
||||||
Thus this option is mainly provided for compatibility with other
|
Thus this option is mainly provided for compatibility with other
|
||||||
implementations of
|
implementations of
|
||||||
.Nm enigma .
|
.Nm .
|
||||||
.Pp
|
.Pp
|
||||||
When specifying the option
|
When specifying the option
|
||||||
.Fl s ,
|
.Fl s ,
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
.Nm unexpand
|
.Nm unexpand
|
||||||
.Nd expand tabs to spaces, and vice versa
|
.Nd expand tabs to spaces, and vice versa
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm expand
|
.Nm
|
||||||
.Op Fl Ns Ar tabstop
|
.Op Fl Ns Ar tabstop
|
||||||
.Op Fl t Ar tab1,tab2,...,tabn
|
.Op Fl t Ar tab1,tab2,...,tabn
|
||||||
.Op Ar
|
.Op Ar
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
.Nm false
|
.Nm false
|
||||||
.Nd return false value
|
.Nd return false value
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm false
|
.Nm
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm False
|
.Nm False
|
||||||
is usually used in a Bourne shell script.
|
is usually used in a Bourne shell script.
|
||||||
@ -50,7 +50,7 @@ It tests for the appropriate status "false" before running
|
|||||||
(or failing to run) a list of commands.
|
(or failing to run) a list of commands.
|
||||||
.Pp
|
.Pp
|
||||||
The
|
The
|
||||||
.Nm false
|
.Nm
|
||||||
utility always exits with a value other than zero.
|
utility always exits with a value other than zero.
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr csh 1 ,
|
.Xr csh 1 ,
|
||||||
@ -58,7 +58,7 @@ utility always exits with a value other than zero.
|
|||||||
.Xr true 1
|
.Xr true 1
|
||||||
.Sh STANDARDS
|
.Sh STANDARDS
|
||||||
The
|
The
|
||||||
.Nm false
|
.Nm
|
||||||
utility is expected to be
|
utility is expected to be
|
||||||
.St -p1003.2
|
.St -p1003.2
|
||||||
compatible.
|
compatible.
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
.Nm file
|
.Nm file
|
||||||
.Nd determine file type
|
.Nd determine file type
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm file
|
.Nm
|
||||||
.Op Fl vczL
|
.Op Fl vczL
|
||||||
.Op Fl f Ar namefile
|
.Op Fl f Ar namefile
|
||||||
.Op Fl m Ar magicfiles
|
.Op Fl m Ar magicfiles
|
||||||
@ -266,7 +266,7 @@ put in multiple levels of `>';
|
|||||||
put in ``beshort'', ``leshort'', etc. keywords to look at numbers in the
|
put in ``beshort'', ``leshort'', etc. keywords to look at numbers in the
|
||||||
file in a specific byte order, rather than in the native byte order of
|
file in a specific byte order, rather than in the native byte order of
|
||||||
the process running
|
the process running
|
||||||
.Nm file .
|
.Nm .
|
||||||
.El
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
Changes by
|
Changes by
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
.Nm find
|
.Nm find
|
||||||
.Nd walk a file hierarchy
|
.Nd walk a file hierarchy
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm find
|
.Nm
|
||||||
.Op Fl H | Fl L | Fl P
|
.Op Fl H | Fl L | Fl P
|
||||||
.Op Fl Xdsx
|
.Op Fl Xdsx
|
||||||
.Op Fl f Ar pathname
|
.Op Fl f Ar pathname
|
||||||
@ -103,12 +103,12 @@ quotes, backslash (``\e''), space, tab and newline characters.
|
|||||||
The
|
The
|
||||||
.Fl d
|
.Fl d
|
||||||
option causes
|
option causes
|
||||||
.Nm find
|
.Nm
|
||||||
to perform a depth\-first traversal, i.e. directories
|
to perform a depth\-first traversal, i.e. directories
|
||||||
are visited in post\-order and all entries in a directory will be acted
|
are visited in post\-order and all entries in a directory will be acted
|
||||||
on before the directory itself.
|
on before the directory itself.
|
||||||
By default,
|
By default,
|
||||||
.Nm find
|
.Nm
|
||||||
visits directories in pre\-order, i.e. before their contents.
|
visits directories in pre\-order, i.e. before their contents.
|
||||||
Note, the default is
|
Note, the default is
|
||||||
.Ar not
|
.Ar not
|
||||||
@ -117,7 +117,7 @@ a breadth\-first traversal.
|
|||||||
The
|
The
|
||||||
.Fl f
|
.Fl f
|
||||||
option specifies a file hierarchy for
|
option specifies a file hierarchy for
|
||||||
.Nm find
|
.Nm
|
||||||
to traverse.
|
to traverse.
|
||||||
File hierarchies may also be specified as the operands immediately
|
File hierarchies may also be specified as the operands immediately
|
||||||
following the options.
|
following the options.
|
||||||
@ -125,7 +125,7 @@ following the options.
|
|||||||
The
|
The
|
||||||
.Fl s
|
.Fl s
|
||||||
option causes
|
option causes
|
||||||
.Nm find
|
.Nm
|
||||||
to traverse the file hierarchies in lexicographical order,
|
to traverse the file hierarchies in lexicographical order,
|
||||||
i.e., alphabetical order within each directory.
|
i.e., alphabetical order within each directory.
|
||||||
Note:
|
Note:
|
||||||
@ -139,7 +139,7 @@ may give different results.
|
|||||||
The
|
The
|
||||||
.Fl x
|
.Fl x
|
||||||
option prevents
|
option prevents
|
||||||
.Nm find
|
.Nm
|
||||||
from descending into directories that have a device number different
|
from descending into directories that have a device number different
|
||||||
than that of the file from which the descent began.
|
than that of the file from which the descent began.
|
||||||
.El
|
.El
|
||||||
@ -147,27 +147,27 @@ than that of the file from which the descent began.
|
|||||||
.Bl -tag -width Ds
|
.Bl -tag -width Ds
|
||||||
.It Ic -amin Ar n
|
.It Ic -amin Ar n
|
||||||
True if the difference between the file last access time and the time
|
True if the difference between the file last access time and the time
|
||||||
.Nm find
|
.Nm
|
||||||
was started, rounded up to the next full minute, is
|
was started, rounded up to the next full minute, is
|
||||||
.Ar n
|
.Ar n
|
||||||
minutes.
|
minutes.
|
||||||
.It Ic -atime Ar n
|
.It Ic -atime Ar n
|
||||||
True if the difference between the file last access time and the time
|
True if the difference between the file last access time and the time
|
||||||
.Nm find
|
.Nm
|
||||||
was started, rounded up to the next full 24\-hour period, is
|
was started, rounded up to the next full 24\-hour period, is
|
||||||
.Ar n
|
.Ar n
|
||||||
24\-hour periods.
|
24\-hour periods.
|
||||||
.It Ic -cmin Ar n
|
.It Ic -cmin Ar n
|
||||||
True if the difference between the time of last change of file status
|
True if the difference between the time of last change of file status
|
||||||
information and the time
|
information and the time
|
||||||
.Nm find
|
.Nm
|
||||||
was started, rounded up to the next full minute, is
|
was started, rounded up to the next full minute, is
|
||||||
.Ar n
|
.Ar n
|
||||||
minutes.
|
minutes.
|
||||||
.It Ic -ctime Ar n
|
.It Ic -ctime Ar n
|
||||||
True if the difference between the time of last change of file status
|
True if the difference between the time of last change of file status
|
||||||
information and the time
|
information and the time
|
||||||
.Nm find
|
.Nm
|
||||||
was started, rounded up to the next full 24\-hour period, is
|
was started, rounded up to the next full 24\-hour period, is
|
||||||
.Ar n
|
.Ar n
|
||||||
24\-hour periods.
|
24\-hour periods.
|
||||||
@ -191,7 +191,7 @@ If the string ``{}'' appears anywhere in the utility name or the
|
|||||||
arguments it is replaced by the pathname of the current file.
|
arguments it is replaced by the pathname of the current file.
|
||||||
.Ar Utility
|
.Ar Utility
|
||||||
will be executed from the directory from which
|
will be executed from the directory from which
|
||||||
.Nm find
|
.Nm
|
||||||
was executed.
|
was executed.
|
||||||
.It Ic -execdir Ar utility Op argument ... ;
|
.It Ic -execdir Ar utility Op argument ... ;
|
||||||
The
|
The
|
||||||
@ -217,7 +217,7 @@ sysctl vfs
|
|||||||
In addition, there are two pseudo-types, ``local'' and ``rdonly''.
|
In addition, there are two pseudo-types, ``local'' and ``rdonly''.
|
||||||
The former matches any file system physically mounted on the system where
|
The former matches any file system physically mounted on the system where
|
||||||
the
|
the
|
||||||
.Nm find
|
.Nm
|
||||||
is being executed and the latter matches any file system which is
|
is being executed and the latter matches any file system which is
|
||||||
mounted read-only.
|
mounted read-only.
|
||||||
.It Ic -group Ar gname
|
.It Ic -group Ar gname
|
||||||
@ -253,13 +253,13 @@ True if the depth of the current file into the tree is greater than or equal to
|
|||||||
.Ar n .
|
.Ar n .
|
||||||
.It Ic -mmin Ar n
|
.It Ic -mmin Ar n
|
||||||
True if the difference between the file last modification time and the time
|
True if the difference between the file last modification time and the time
|
||||||
.Nm find
|
.Nm
|
||||||
was started, rounded up to the next full minute, is
|
was started, rounded up to the next full minute, is
|
||||||
.Ar n
|
.Ar n
|
||||||
minutes.
|
minutes.
|
||||||
.It Ic -mtime Ar n
|
.It Ic -mtime Ar n
|
||||||
True if the difference between the file last modification time and the time
|
True if the difference between the file last modification time and the time
|
||||||
.Nm find
|
.Nm
|
||||||
was started, rounded up to the next full 24\-hour period, is
|
was started, rounded up to the next full 24\-hour period, is
|
||||||
.Ar n
|
.Ar n
|
||||||
24\-hour periods.
|
24\-hour periods.
|
||||||
@ -269,7 +269,7 @@ The
|
|||||||
primary is identical to the
|
primary is identical to the
|
||||||
.Ic -exec
|
.Ic -exec
|
||||||
primary with the exception that
|
primary with the exception that
|
||||||
.Nm find
|
.Nm
|
||||||
requests user affirmation for the execution of the utility by printing
|
requests user affirmation for the execution of the utility by printing
|
||||||
a message to the terminal and reading a response.
|
a message to the terminal and reading a response.
|
||||||
If the response is other than ``y'' the command is not executed and the
|
If the response is other than ``y'' the command is not executed and the
|
||||||
@ -369,7 +369,7 @@ character (character code 0).
|
|||||||
.It Ic -prune
|
.It Ic -prune
|
||||||
This primary always evaluates to true.
|
This primary always evaluates to true.
|
||||||
It causes
|
It causes
|
||||||
.Nm find
|
.Nm
|
||||||
to not descend into the current file.
|
to not descend into the current file.
|
||||||
Note, the
|
Note, the
|
||||||
.Ic -prune
|
.Ic -prune
|
||||||
@ -458,10 +458,10 @@ The second expression is not evaluated if the first expression is true.
|
|||||||
.El
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
All operands and primaries must be separate arguments to
|
All operands and primaries must be separate arguments to
|
||||||
.Nm find .
|
.Nm .
|
||||||
Primaries which themselves take arguments expect each argument
|
Primaries which themselves take arguments expect each argument
|
||||||
to be a separate argument to
|
to be a separate argument to
|
||||||
.Nm find .
|
.Nm .
|
||||||
.Sh EXAMPLES
|
.Sh EXAMPLES
|
||||||
.Pp
|
.Pp
|
||||||
The following examples are shown as given to the shell:
|
The following examples are shown as given to the shell:
|
||||||
@ -492,7 +492,7 @@ that are newer than ``ttt''.
|
|||||||
.Xr symlink 7
|
.Xr symlink 7
|
||||||
.Sh STANDARDS
|
.Sh STANDARDS
|
||||||
The
|
The
|
||||||
.Nm find
|
.Nm
|
||||||
utility syntax is a superset of the syntax specified by the
|
utility syntax is a superset of the syntax specified by the
|
||||||
.St -p1003.2
|
.St -p1003.2
|
||||||
standard.
|
standard.
|
||||||
@ -534,7 +534,7 @@ This version replaces it no matter where in the utility name or arguments
|
|||||||
it appears.
|
it appears.
|
||||||
.Sh BUGS
|
.Sh BUGS
|
||||||
The special characters used by
|
The special characters used by
|
||||||
.Nm find
|
.Nm
|
||||||
are also special characters to many shell programs.
|
are also special characters to many shell programs.
|
||||||
In particular, the characters ``*'', ``['', ``]'', ``?'', ``('', ``)'',
|
In particular, the characters ``*'', ``['', ``]'', ``?'', ``('', ``)'',
|
||||||
``!'', ``\e'' and ``;'' may have to be escaped from the shell.
|
``!'', ``\e'' and ``;'' may have to be escaped from the shell.
|
||||||
|
@ -39,13 +39,13 @@
|
|||||||
.Nm finger
|
.Nm finger
|
||||||
.Nd user information lookup program
|
.Nd user information lookup program
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm finger
|
.Nm
|
||||||
.Op Fl lmpshoT
|
.Op Fl lmpshoT
|
||||||
.Op Ar user ...
|
.Op Ar user ...
|
||||||
.Op Ar user@host ...
|
.Op Ar user@host ...
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The
|
The
|
||||||
.Nm finger
|
.Nm
|
||||||
displays information about the system users.
|
displays information about the system users.
|
||||||
.Pp
|
.Pp
|
||||||
Options are:
|
Options are:
|
||||||
@ -124,7 +124,7 @@ Prevents
|
|||||||
the
|
the
|
||||||
.Fl l
|
.Fl l
|
||||||
option of
|
option of
|
||||||
.Nm finger
|
.Nm
|
||||||
from displaying the contents of the
|
from displaying the contents of the
|
||||||
.Dq Pa .forward ,
|
.Dq Pa .forward ,
|
||||||
.Dq Pa .plan
|
.Dq Pa .plan
|
||||||
@ -141,7 +141,7 @@ users' real names, unless the
|
|||||||
.Fl m
|
.Fl m
|
||||||
option is supplied.
|
option is supplied.
|
||||||
All name matching performed by
|
All name matching performed by
|
||||||
.Nm finger
|
.Nm
|
||||||
is case insensitive.
|
is case insensitive.
|
||||||
.Pp
|
.Pp
|
||||||
.It Fl T
|
.It Fl T
|
||||||
@ -150,7 +150,7 @@ This option is needed to finger hosts with a broken TCP implementation.
|
|||||||
.El
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
If no options are specified,
|
If no options are specified,
|
||||||
.Nm finger
|
.Nm
|
||||||
defaults to the
|
defaults to the
|
||||||
.Fl l
|
.Fl l
|
||||||
style output if operands are provided, otherwise to the
|
style output if operands are provided, otherwise to the
|
||||||
@ -160,7 +160,7 @@ Note that some fields may be missing, in either format, if information
|
|||||||
is not available for them.
|
is not available for them.
|
||||||
.Pp
|
.Pp
|
||||||
If no arguments are specified,
|
If no arguments are specified,
|
||||||
.Nm finger
|
.Nm
|
||||||
will print an entry for each user currently logged into the system.
|
will print an entry for each user currently logged into the system.
|
||||||
.Pp
|
.Pp
|
||||||
.Nm Finger
|
.Nm Finger
|
||||||
@ -184,7 +184,7 @@ option is the only option that may be passed to a remote machine.
|
|||||||
If the file
|
If the file
|
||||||
.Dq Pa .nofinger
|
.Dq Pa .nofinger
|
||||||
exists in the user's home directory,
|
exists in the user's home directory,
|
||||||
.Nm finger
|
.Nm
|
||||||
behaves as if the user in question does not exist.
|
behaves as if the user in question does not exist.
|
||||||
.Pp
|
.Pp
|
||||||
The optional
|
The optional
|
||||||
@ -201,7 +201,7 @@ utilizes the following environment variable, if it exists:
|
|||||||
.Bl -tag -width Fl
|
.Bl -tag -width Fl
|
||||||
.It Ev FINGER
|
.It Ev FINGER
|
||||||
This variable may be set with favored options to
|
This variable may be set with favored options to
|
||||||
.Nm finger .
|
.Nm .
|
||||||
.El
|
.El
|
||||||
.Sh FILES
|
.Sh FILES
|
||||||
.Bl -tag -width /var/log/lastlog -compact
|
.Bl -tag -width /var/log/lastlog -compact
|
||||||
@ -224,7 +224,7 @@ last login data base
|
|||||||
.Re
|
.Re
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
The
|
The
|
||||||
.Nm finger
|
.Nm
|
||||||
command appeared in
|
command appeared in
|
||||||
.Bx 3.0 .
|
.Bx 3.0 .
|
||||||
.Sh BUGS
|
.Sh BUGS
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
.Nm fold
|
.Nm fold
|
||||||
.Nd "fold long lines for finite width output device"
|
.Nd "fold long lines for finite width output device"
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm fold
|
.Nm
|
||||||
.Op Fl w Ar width
|
.Op Fl w Ar width
|
||||||
.Ar
|
.Ar
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
@ -57,7 +57,7 @@ should be a multiple of 8 if tabs are present, or the tabs should
|
|||||||
be expanded using
|
be expanded using
|
||||||
.Xr expand 1
|
.Xr expand 1
|
||||||
before using
|
before using
|
||||||
.Nm fold .
|
.Nm .
|
||||||
.El
|
.El
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr expand 1
|
.Xr expand 1
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
.Nm from
|
.Nm from
|
||||||
.Nd print names of those who have sent mail
|
.Nd print names of those who have sent mail
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm from
|
.Nm
|
||||||
.Op Fl c
|
.Op Fl c
|
||||||
.Op Fl s Ar sender
|
.Op Fl s Ar sender
|
||||||
.Op Fl f Ar file
|
.Op Fl f Ar file
|
||||||
@ -90,6 +90,6 @@ in /var/mail is used.
|
|||||||
.Xr mail 1
|
.Xr mail 1
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
The
|
The
|
||||||
.Nm from
|
.Nm
|
||||||
command appeared in
|
command appeared in
|
||||||
.Bx 3.0 .
|
.Bx 3.0 .
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
.Nm fstat
|
.Nm fstat
|
||||||
.Nd file status
|
.Nd file status
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm fstat
|
.Nm
|
||||||
.Op Fl fmnv
|
.Op Fl fmnv
|
||||||
.Op Fl M Ar core
|
.Op Fl M Ar core
|
||||||
.Op Fl N Ar system
|
.Op Fl N Ar system
|
||||||
@ -53,7 +53,7 @@ A file is considered open by a process if it was explicitly opened,
|
|||||||
is the working directory, root directory, active executable text, or kernel
|
is the working directory, root directory, active executable text, or kernel
|
||||||
trace file for that process.
|
trace file for that process.
|
||||||
If no options are specified,
|
If no options are specified,
|
||||||
.Nm fstat
|
.Nm
|
||||||
reports on all open files in the system.
|
reports on all open files in the system.
|
||||||
.Pp
|
.Pp
|
||||||
Options:
|
Options:
|
||||||
@ -94,10 +94,10 @@ Verbose mode. Print error messages upon failures to locate particular
|
|||||||
system data structures rather than silently ignoring them. Most of
|
system data structures rather than silently ignoring them. Most of
|
||||||
these data structures are dynamically created or deleted and it is
|
these data structures are dynamically created or deleted and it is
|
||||||
possible for them to disappear while
|
possible for them to disappear while
|
||||||
.Nm fstat
|
.Nm
|
||||||
is running. This
|
is running. This
|
||||||
is normal and unavoidable since the rest of the system is running while
|
is normal and unavoidable since the rest of the system is running while
|
||||||
.Nm fstat
|
.Nm
|
||||||
itself is running.
|
itself is running.
|
||||||
.It Ar filename ...
|
.It Ar filename ...
|
||||||
Restrict reports to the specified files.
|
Restrict reports to the specified files.
|
||||||
@ -206,7 +206,7 @@ an arrow (``<-'' or ``->''), and a full duplex socket shows a double arrow
|
|||||||
(``<->'').
|
(``<->'').
|
||||||
.Sh BUGS
|
.Sh BUGS
|
||||||
Since
|
Since
|
||||||
.Nm fstat
|
.Nm
|
||||||
takes a snapshot of the system, it is only correct for a very short period
|
takes a snapshot of the system, it is only correct for a very short period
|
||||||
of time.
|
of time.
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
.Nm fsync
|
.Nm fsync
|
||||||
.Nd synchronize a file's in-core state with that on disk
|
.Nd synchronize a file's in-core state with that on disk
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm fsync
|
.Nm
|
||||||
.Ar
|
.Ar
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The
|
The
|
||||||
|
@ -48,11 +48,11 @@ file transfer program
|
|||||||
.Op Fl P Ar port
|
.Op Fl P Ar port
|
||||||
.Op Fl s Ar src_addr
|
.Op Fl s Ar src_addr
|
||||||
.Op Ar host Op Ar port
|
.Op Ar host Op Ar port
|
||||||
.Nm ftp
|
.Nm
|
||||||
ftp://[\fIuser\fR:\fIpassword\fR@]\fIhost\fR[:\fIport\fR]/\fIfile\fR[/]
|
ftp://[\fIuser\fR:\fIpassword\fR@]\fIhost\fR[:\fIport\fR]/\fIfile\fR[/]
|
||||||
.Nm ftp
|
.Nm
|
||||||
http://\fIhost\fR[:\fIport\fR]/\fIfile\fR
|
http://\fIhost\fR[:\fIport\fR]/\fIfile\fR
|
||||||
.Nm ftp
|
.Nm
|
||||||
\fIhost\fR:[/\fIpath\fR/]\fIfile\fR[/]
|
\fIhost\fR:[/\fIpath\fR/]\fIfile\fR[/]
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm
|
.Nm
|
||||||
@ -157,7 +157,7 @@ is awaiting commands from the user the prompt
|
|||||||
is provided to the user.
|
is provided to the user.
|
||||||
The following commands are recognized
|
The following commands are recognized
|
||||||
by
|
by
|
||||||
.Nm ftp :
|
.Nm :
|
||||||
.Bl -tag -width Fl
|
.Bl -tag -width Fl
|
||||||
.It Ic \&! Op Ar command Op Ar args
|
.It Ic \&! Op Ar command Op Ar args
|
||||||
Invoke an interactive shell on the local machine.
|
Invoke an interactive shell on the local machine.
|
||||||
@ -209,7 +209,7 @@ Terminate the
|
|||||||
.Tn FTP
|
.Tn FTP
|
||||||
session with the remote server
|
session with the remote server
|
||||||
and exit
|
and exit
|
||||||
.Nm ftp .
|
.Nm .
|
||||||
An end of file will also terminate the session and exit.
|
An end of file will also terminate the session and exit.
|
||||||
.It Ic case
|
.It Ic case
|
||||||
Toggle remote computer file name case mapping during
|
Toggle remote computer file name case mapping during
|
||||||
@ -954,7 +954,7 @@ Return size of
|
|||||||
on remote machine.
|
on remote machine.
|
||||||
.It Ic status
|
.It Ic status
|
||||||
Show the current status of
|
Show the current status of
|
||||||
.Nm ftp .
|
.Nm .
|
||||||
.It Ic struct Op Ar struct-name
|
.It Ic struct Op Ar struct-name
|
||||||
Set the file transfer
|
Set the file transfer
|
||||||
.Ar structure
|
.Ar structure
|
||||||
@ -1421,7 +1421,7 @@ The
|
|||||||
and
|
and
|
||||||
.Xr gate-ftp 1
|
.Xr gate-ftp 1
|
||||||
commands are links to
|
commands are links to
|
||||||
.Nm ftp .
|
.Nm .
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
The
|
The
|
||||||
.Nm
|
.Nm
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
.Nm genassym
|
.Nm genassym
|
||||||
.Nd generate assembler symbols from C
|
.Nd generate assembler symbols from C
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm genassym
|
.Nm
|
||||||
.Op Fl o Ar outfile
|
.Op Fl o Ar outfile
|
||||||
.Ar objfile
|
.Ar objfile
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
.Nm gensetdefs
|
.Nm gensetdefs
|
||||||
.Nd generate linker set definitions
|
.Nd generate linker set definitions
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm gensetdefs
|
.Nm
|
||||||
.Ar file ...
|
.Ar file ...
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The
|
The
|
||||||
|
@ -35,17 +35,17 @@
|
|||||||
.Nm getconf
|
.Nm getconf
|
||||||
.Nd retrieve standard configuration variables
|
.Nd retrieve standard configuration variables
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm getconf
|
.Nm
|
||||||
.Op Fl v Ar environment
|
.Op Fl v Ar environment
|
||||||
.Ar path_var
|
.Ar path_var
|
||||||
.Ar file
|
.Ar file
|
||||||
.Pp
|
.Pp
|
||||||
.Nm getconf
|
.Nm
|
||||||
.Op Fl v Ar environment
|
.Op Fl v Ar environment
|
||||||
.Ar system_var
|
.Ar system_var
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The
|
The
|
||||||
.Nm getconf
|
.Nm
|
||||||
utility outputs the value of
|
utility outputs the value of
|
||||||
.Tn POSIX
|
.Tn POSIX
|
||||||
or
|
or
|
||||||
@ -95,7 +95,7 @@ The
|
|||||||
option is not supported, but provided for compatibility purposes.
|
option is not supported, but provided for compatibility purposes.
|
||||||
.Sh DIAGNOSTICS
|
.Sh DIAGNOSTICS
|
||||||
The
|
The
|
||||||
.Nm getconf
|
.Nm
|
||||||
utility exits 0 on success or >0 if an error occurred.
|
utility exits 0 on success or >0 if an error occurred.
|
||||||
Use of a
|
Use of a
|
||||||
.Ar system_var
|
.Ar system_var
|
||||||
@ -134,12 +134,12 @@ directory.
|
|||||||
.Xr sysconf 3
|
.Xr sysconf 3
|
||||||
.Sh STANDARDS
|
.Sh STANDARDS
|
||||||
The
|
The
|
||||||
.Nm getconf
|
.Nm
|
||||||
utility is expected to be compliant with
|
utility is expected to be compliant with
|
||||||
.St -susv2 .
|
.St -susv2 .
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
The
|
The
|
||||||
.Nm getconf
|
.Nm
|
||||||
command first appeared in
|
command first appeared in
|
||||||
.Fx 5.0 .
|
.Fx 5.0 .
|
||||||
.Sh BUGS
|
.Sh BUGS
|
||||||
|
@ -108,17 +108,17 @@ has.
|
|||||||
Arguments containing white space or embedded shell metacharacters
|
Arguments containing white space or embedded shell metacharacters
|
||||||
generally will not survive intact; this looks easy to fix but
|
generally will not survive intact; this looks easy to fix but
|
||||||
isn't. People trying to fix
|
isn't. People trying to fix
|
||||||
.Nm getopt
|
.Nm
|
||||||
or the example in this manpage should check the history of this file
|
or the example in this manpage should check the history of this file
|
||||||
in
|
in
|
||||||
.Fx .
|
.Fx .
|
||||||
.Pp
|
.Pp
|
||||||
The error message for an invalid option is identified as coming
|
The error message for an invalid option is identified as coming
|
||||||
from
|
from
|
||||||
.Nm getopt
|
.Nm
|
||||||
rather than from the shell procedure containing the invocation
|
rather than from the shell procedure containing the invocation
|
||||||
of
|
of
|
||||||
.Nm getopt ;
|
.Nm ;
|
||||||
this again is hard to fix.
|
this again is hard to fix.
|
||||||
.Pp
|
.Pp
|
||||||
The precise best way to use the
|
The precise best way to use the
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
.Nm gprof
|
.Nm gprof
|
||||||
.Nd display call graph profile data
|
.Nd display call graph profile data
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm gprof
|
.Nm
|
||||||
.Op options
|
.Op options
|
||||||
.Op Ar a.out Op Ar a.out.gmon ...
|
.Op Ar a.out Op Ar a.out.gmon ...
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
@ -69,7 +69,7 @@ of the executable with the suffix
|
|||||||
appended.
|
appended.
|
||||||
If more than one profile file is specified,
|
If more than one profile file is specified,
|
||||||
the
|
the
|
||||||
.Nm gprof
|
.Nm
|
||||||
output shows the sum of the profile information in the given profile files.
|
output shows the sum of the profile information in the given profile files.
|
||||||
.Pp
|
.Pp
|
||||||
.Nm Gprof
|
.Nm Gprof
|
||||||
@ -122,7 +122,7 @@ Find a minimal set of arcs that can be broken to eliminate all cycles with
|
|||||||
or more members.
|
or more members.
|
||||||
Caution: the algorithm used to break cycles is exponential,
|
Caution: the algorithm used to break cycles is exponential,
|
||||||
so using this option may cause
|
so using this option may cause
|
||||||
.Nm gprof
|
.Nm
|
||||||
to run for a very long time.
|
to run for a very long time.
|
||||||
.It Fl e Ar name
|
.It Fl e Ar name
|
||||||
Suppresses the printing of the graph profile entry for routine
|
Suppresses the printing of the graph profile entry for routine
|
||||||
@ -270,7 +270,7 @@ Summarized dynamic call graph and profile.
|
|||||||
.Re
|
.Re
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
The
|
The
|
||||||
.Nm gprof
|
.Nm
|
||||||
profiler
|
profiler
|
||||||
appeared in
|
appeared in
|
||||||
.Bx 4.2 .
|
.Bx 4.2 .
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
.Nm head
|
.Nm head
|
||||||
.Nd display first lines of a file
|
.Nd display first lines of a file
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm head
|
.Nm
|
||||||
.Op Fl n Ar count
|
.Op Fl n Ar count
|
||||||
.Op Fl c Ar bytes
|
.Op Fl c Ar bytes
|
||||||
.Op Ar file ...
|
.Op Ar file ...
|
||||||
@ -62,12 +62,12 @@ where
|
|||||||
is the name of the file.
|
is the name of the file.
|
||||||
.Pp
|
.Pp
|
||||||
The
|
The
|
||||||
.Nm head
|
.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 tail 1
|
.Xr tail 1
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
The
|
The
|
||||||
.Nm head
|
.Nm
|
||||||
command appeared in
|
command appeared in
|
||||||
.Bx 3.0 .
|
.Bx 3.0 .
|
||||||
|
@ -36,10 +36,10 @@
|
|||||||
.Dt HEXDUMP 1
|
.Dt HEXDUMP 1
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm hexdump, hd
|
.Nm hexdump , hd
|
||||||
.Nd ASCII, decimal, hexadecimal, octal dump
|
.Nd ASCII, decimal, hexadecimal, octal dump
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm hexdump
|
.Nm
|
||||||
.Op Fl bcCdovx
|
.Op Fl bcCdovx
|
||||||
.Op Fl e Ar format_string
|
.Op Fl e Ar format_string
|
||||||
.Op Fl f Ar format_file
|
.Op Fl f Ar format_file
|
||||||
@ -58,7 +58,9 @@
|
|||||||
.Ek
|
.Ek
|
||||||
.Ar file ...
|
.Ar file ...
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The hexdump utility is a filter which displays the specified files, or
|
The
|
||||||
|
.Nm
|
||||||
|
utility is a filter which displays the specified files, or
|
||||||
the standard input, if no files are specified, in a user specified
|
the standard input, if no files are specified, in a user specified
|
||||||
format.
|
format.
|
||||||
.Pp
|
.Pp
|
||||||
@ -137,7 +139,9 @@ respectively.
|
|||||||
.It Fl v
|
.It Fl v
|
||||||
The
|
The
|
||||||
.Fl v
|
.Fl v
|
||||||
option causes hexdump to display all input data.
|
option causes
|
||||||
|
.Nm
|
||||||
|
to display all input data.
|
||||||
Without the
|
Without the
|
||||||
.Fl v
|
.Fl v
|
||||||
option, any number of groups of output lines, which would be
|
option, any number of groups of output lines, which would be
|
||||||
@ -152,7 +156,7 @@ data, in hexadecimal, per line.
|
|||||||
.El
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
For each input file,
|
For each input file,
|
||||||
.Nm hexdump
|
.Nm
|
||||||
sequentially copies the input to standard output, transforming the
|
sequentially copies the input to standard output, transforming the
|
||||||
data according to the format strings specified by the
|
data according to the format strings specified by the
|
||||||
.Fl e
|
.Fl e
|
||||||
@ -214,7 +218,8 @@ described in the C standard are supported:
|
|||||||
.Ed
|
.Ed
|
||||||
.El
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
Hexdump also supports the following additional conversion strings:
|
.Nm Hexdump
|
||||||
|
also supports the following additional conversion strings:
|
||||||
.Bl -tag -width Fl
|
.Bl -tag -width Fl
|
||||||
.It Cm \&_a Ns Op Cm dox
|
.It Cm \&_a Ns Op Cm dox
|
||||||
Display the input offset, cumulative across input files, of the
|
Display the input offset, cumulative across input files, of the
|
||||||
@ -286,7 +291,9 @@ not have a specified iteration count, have the iteration count
|
|||||||
incremented until the entire input block has been processed or there
|
incremented until the entire input block has been processed or there
|
||||||
is not enough data remaining in the block to satisfy the format string.
|
is not enough data remaining in the block to satisfy the format string.
|
||||||
.Pp
|
.Pp
|
||||||
If, either as a result of user specification or hexdump modifying
|
If, either as a result of user specification or
|
||||||
|
.Nm
|
||||||
|
modifying
|
||||||
the iteration count as described above, an iteration count is
|
the iteration count as described above, an iteration count is
|
||||||
greater than one, no trailing whitespace characters are output
|
greater than one, no trailing whitespace characters are output
|
||||||
during the last iteration.
|
during the last iteration.
|
||||||
@ -324,7 +331,7 @@ to specifying the
|
|||||||
.Fl x
|
.Fl x
|
||||||
option.
|
option.
|
||||||
.Pp
|
.Pp
|
||||||
.Nm hexdump
|
.Nm
|
||||||
exits 0 on success and >0 if an error occurred.
|
exits 0 on success and >0 if an error occurred.
|
||||||
.Sh EXAMPLES
|
.Sh EXAMPLES
|
||||||
Display the input in perusal format:
|
Display the input in perusal format:
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
.Nm od
|
.Nm od
|
||||||
.Nd octal, decimal, hex, ASCII dump
|
.Nd octal, decimal, hex, ASCII dump
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm od
|
.Nm
|
||||||
.Op Fl aBbcDdeFfHhIiLlOovXx
|
.Op Fl aBbcDdeFfHhIiLlOovXx
|
||||||
.Sm off
|
.Sm off
|
||||||
.Oo
|
.Oo
|
||||||
@ -56,7 +56,7 @@ has been deprecated in favor of
|
|||||||
.Pp
|
.Pp
|
||||||
.Nm Hexdump ,
|
.Nm Hexdump ,
|
||||||
if called as
|
if called as
|
||||||
.Nm od ,
|
.Nm ,
|
||||||
provides compatibility for the options listed above.
|
provides compatibility for the options listed above.
|
||||||
.Pp
|
.Pp
|
||||||
It does not provide compatibility for the
|
It does not provide compatibility for the
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
.Nm groups
|
.Nm groups
|
||||||
.Nd show group memberships
|
.Nd show group memberships
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm groups
|
.Nm
|
||||||
.Op Ar user
|
.Op Ar user
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The
|
The
|
||||||
|
@ -42,21 +42,21 @@
|
|||||||
.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 P
|
.Fl P
|
||||||
.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
|
||||||
.Op Ar user
|
.Op Ar user
|
||||||
.Nm id
|
.Nm
|
||||||
.Fl u Op Fl nr
|
.Fl u Op Fl nr
|
||||||
.Op Ar user
|
.Op Ar user
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
.Nm whoami
|
.Nm whoami
|
||||||
.Nd display effective user id
|
.Nd display effective user id
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm whoami
|
.Nm
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The
|
The
|
||||||
.Nm
|
.Nm
|
||||||
|
@ -114,7 +114,7 @@ checks to make sure it is different from
|
|||||||
.Ar input-file .
|
.Ar input-file .
|
||||||
.Pp
|
.Pp
|
||||||
The options listed below control the formatting style imposed by
|
The options listed below control the formatting style imposed by
|
||||||
.Nm indent .
|
.Nm .
|
||||||
.Bl -tag -width Op
|
.Bl -tag -width Op
|
||||||
.It Fl bad , nbad
|
.It Fl bad , nbad
|
||||||
If
|
If
|
||||||
@ -443,6 +443,5 @@ A common mistake that often causes grief is typing:
|
|||||||
.Dl indent *.c
|
.Dl indent *.c
|
||||||
.Pp
|
.Pp
|
||||||
to the shell in an attempt to indent all the
|
to the shell in an attempt to indent all the
|
||||||
.Nm C
|
C programs in a directory.
|
||||||
programs in a directory.
|
|
||||||
This is probably a bug, not a feature.
|
This is probably a bug, not a feature.
|
||||||
|
@ -135,7 +135,7 @@ is not guaranteed to be consistent.
|
|||||||
.Sh BUGS
|
.Sh BUGS
|
||||||
This manual page is woefully incomplete, because it does not
|
This manual page is woefully incomplete, because it does not
|
||||||
at all attempt to explain the information printed by
|
at all attempt to explain the information printed by
|
||||||
.Nm ipcs .
|
.Nm .
|
||||||
.Sh FILES
|
.Sh FILES
|
||||||
.Bl -tag -width /etc/passwd -compact
|
.Bl -tag -width /etc/passwd -compact
|
||||||
.It Pa /dev/kmem
|
.It Pa /dev/kmem
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
.Nm join
|
.Nm join
|
||||||
.Nd relational database operator
|
.Nd relational database operator
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm join
|
.Nm
|
||||||
.Oo
|
.Oo
|
||||||
.Fl a Ar file_number | Fl v Ar file_number
|
.Fl a Ar file_number | Fl v Ar file_number
|
||||||
.Oc
|
.Oc
|
||||||
@ -175,7 +175,7 @@ The
|
|||||||
utility exits 0 on success, and >0 if an error occurs.
|
utility exits 0 on success, and >0 if an error occurs.
|
||||||
.Sh COMPATIBILITY
|
.Sh COMPATIBILITY
|
||||||
For compatibility with historic versions of
|
For compatibility with historic versions of
|
||||||
.Nm Ns ,
|
.Nm ,
|
||||||
the following options are available:
|
the following options are available:
|
||||||
.Bl -tag -width indent
|
.Bl -tag -width indent
|
||||||
.It Fl a
|
.It Fl a
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
.Nm jot
|
.Nm jot
|
||||||
.Nd print sequential or random data
|
.Nd print sequential or random data
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm jot
|
.Nm
|
||||||
.Op Fl cnr
|
.Op Fl cnr
|
||||||
.Op Fl b Ar word
|
.Op Fl b Ar word
|
||||||
.Op Fl w Ar word
|
.Op Fl w Ar word
|
||||||
|
@ -30,11 +30,11 @@
|
|||||||
.Nm kenv
|
.Nm kenv
|
||||||
.Nd dump the kernel environment
|
.Nd dump the kernel environment
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm kenv
|
.Nm
|
||||||
.Op Fl h
|
.Op Fl h
|
||||||
.Op variable
|
.Op variable
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm kenv
|
.Nm
|
||||||
will dump the kernel environment.
|
will dump the kernel environment.
|
||||||
If the
|
If the
|
||||||
.Fl h
|
.Fl h
|
||||||
@ -45,6 +45,6 @@ will only report that value.
|
|||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr loader 8
|
.Xr loader 8
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
.Nm kenv
|
.Nm
|
||||||
appeared in
|
appeared in
|
||||||
.Fx 5.0 .
|
.Fx 5.0 .
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
.Nm killall
|
.Nm killall
|
||||||
.Nd kill processes by name
|
.Nd kill processes by name
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm killall
|
.Nm
|
||||||
.Op Fl d \&| Ns Fl v
|
.Op Fl d \&| Ns Fl v
|
||||||
.Op Fl h \&| Ns Fl \&?
|
.Op Fl h \&| Ns Fl \&?
|
||||||
.Op Fl help
|
.Op Fl help
|
||||||
|
@ -39,13 +39,13 @@
|
|||||||
.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
|
||||||
|
@ -44,7 +44,7 @@
|
|||||||
.Op Fl s Ar sepstring
|
.Op Fl s Ar sepstring
|
||||||
.Op Fl t Ar c
|
.Op Fl t Ar c
|
||||||
.Ar file ...
|
.Ar file ...
|
||||||
.Nm lam
|
.Nm
|
||||||
.Op Fl p Ar min.max
|
.Op Fl p Ar min.max
|
||||||
.Op Fl s Ar sepstring
|
.Op Fl s Ar sepstring
|
||||||
.Op Fl t Ar c
|
.Op Fl t Ar c
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
.Nm last
|
.Nm last
|
||||||
.Nd indicate last logins of users and ttys
|
.Nd indicate last logins of users and ttys
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm last
|
.Nm
|
||||||
.Op Fl Ns Ar n
|
.Op Fl Ns Ar n
|
||||||
.Op Fl f Ar file
|
.Op Fl f Ar file
|
||||||
.Op Fl h Ar host
|
.Op Fl h Ar host
|
||||||
@ -59,7 +59,7 @@ the user name, the tty from which the session was conducted, any
|
|||||||
hostname, the start and stop times for the session, and the duration
|
hostname, the start and stop times for the session, and the duration
|
||||||
of the session. If the session is still continuing or was cut short by
|
of the session. If the session is still continuing or was cut short by
|
||||||
a crash or shutdown,
|
a crash or shutdown,
|
||||||
.Nm last
|
.Nm
|
||||||
will so indicate.
|
will so indicate.
|
||||||
.Pp
|
.Pp
|
||||||
.Bl -tag -width indent-two
|
.Bl -tag -width indent-two
|
||||||
@ -101,7 +101,7 @@ would list all of
|
|||||||
sessions as well as all sessions on the console terminal.
|
sessions as well as all sessions on the console terminal.
|
||||||
If no
|
If no
|
||||||
users, hostnames or terminals are specified,
|
users, hostnames or terminals are specified,
|
||||||
.Nm last
|
.Nm
|
||||||
prints a record of
|
prints a record of
|
||||||
all logins and logouts.
|
all logins and logouts.
|
||||||
.Pp
|
.Pp
|
||||||
@ -112,10 +112,10 @@ logs in at reboots of the system, thus
|
|||||||
will give an indication of mean time between reboot.
|
will give an indication of mean time between reboot.
|
||||||
.Pp
|
.Pp
|
||||||
If
|
If
|
||||||
.Nm last
|
.Nm
|
||||||
is interrupted, it indicates to what date the search has
|
is interrupted, it indicates to what date the search has
|
||||||
progressed. If interrupted with a quit signal
|
progressed. If interrupted with a quit signal
|
||||||
.Nm last
|
.Nm
|
||||||
indicates how
|
indicates how
|
||||||
far the search has progressed and then continues.
|
far the search has progressed and then continues.
|
||||||
.Sh FILES
|
.Sh FILES
|
||||||
@ -131,7 +131,7 @@ login data base
|
|||||||
If a login shell should terminate abnormally for some reason, it is likely
|
If a login shell should terminate abnormally for some reason, it is likely
|
||||||
that a logout record won't be written to the wtmp file.
|
that a logout record won't be written to the wtmp file.
|
||||||
In this case,
|
In this case,
|
||||||
.Nm last
|
.Nm
|
||||||
will indicate the logout time as "shutdown".
|
will indicate the logout time as "shutdown".
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
.Nm Last
|
.Nm Last
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
.Nm ldd
|
.Nm ldd
|
||||||
.Nd list dynamic object dependencies
|
.Nd list dynamic object dependencies
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm ldd
|
.Nm
|
||||||
.Op Fl v
|
.Op Fl v
|
||||||
.Op Fl f Ar format
|
.Op Fl f Ar format
|
||||||
.Ar program ...
|
.Ar program ...
|
||||||
|
@ -26,24 +26,24 @@
|
|||||||
.Nm limits
|
.Nm limits
|
||||||
.Nd set or display process resource limits
|
.Nd set or display process resource limits
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm limits
|
.Nm
|
||||||
.Op Fl C Ar class
|
.Op Fl C Ar class
|
||||||
.Op Fl SHB
|
.Op Fl SHB
|
||||||
.Op Fl ea
|
.Op Fl ea
|
||||||
.Op Fl cdflmnstu Op val
|
.Op Fl cdflmnstu Op val
|
||||||
.Nm limits
|
.Nm
|
||||||
.Op Fl C Ar class
|
.Op Fl C Ar class
|
||||||
.Op Fl SHB
|
.Op Fl SHB
|
||||||
.Op Fl cdflmnstu Op val
|
.Op Fl cdflmnstu Op val
|
||||||
.Op Fl E
|
.Op Fl E
|
||||||
.Op Ar name=value ...
|
.Op Ar name=value ...
|
||||||
.Op Ar command
|
.Op Ar command
|
||||||
.Nm limits
|
.Nm
|
||||||
.Op Fl U Ar user
|
.Op Fl U Ar user
|
||||||
.Op Fl SHB
|
.Op Fl SHB
|
||||||
.Op Fl ea
|
.Op Fl ea
|
||||||
.Op Fl cdflmnstu Op val
|
.Op Fl cdflmnstu Op val
|
||||||
.Nm limits
|
.Nm
|
||||||
.Op Fl U Ar user
|
.Op Fl U Ar user
|
||||||
.Op Fl SHB
|
.Op Fl SHB
|
||||||
.Op Fl cdflmnstu Op val
|
.Op Fl cdflmnstu Op val
|
||||||
@ -61,7 +61,8 @@ Three uses of the
|
|||||||
command are possible:
|
command are possible:
|
||||||
.Pp
|
.Pp
|
||||||
.Bl -hang -width indent
|
.Bl -hang -width indent
|
||||||
.It Nm limits Op Ar limitflags
|
.It Nm
|
||||||
|
.Op Ar limitflags
|
||||||
.Op Ar name=value
|
.Op Ar name=value
|
||||||
.Ar command
|
.Ar command
|
||||||
.Pp
|
.Pp
|
||||||
@ -70,7 +71,8 @@ This usage sets limits according to
|
|||||||
optionally sets environment variables given as
|
optionally sets environment variables given as
|
||||||
.Ar name=value
|
.Ar name=value
|
||||||
pairs, and then runs the specified command.
|
pairs, and then runs the specified command.
|
||||||
.It Nm limits Op Ar limitflags
|
.It Nm
|
||||||
|
.Op Ar limitflags
|
||||||
.Pp
|
.Pp
|
||||||
This usage determines values of resource settings according to
|
This usage determines values of resource settings according to
|
||||||
.Ar limitflags ,
|
.Ar limitflags ,
|
||||||
@ -87,7 +89,8 @@ by the the appropriate login class resource limit entries from
|
|||||||
the
|
the
|
||||||
.Xr login.conf 5
|
.Xr login.conf 5
|
||||||
login capabilities database.
|
login capabilities database.
|
||||||
.It Nm limits Fl e Op Ar limitflags
|
.It Nm
|
||||||
|
.Fl e Op Ar limitflags
|
||||||
.Pp
|
.Pp
|
||||||
This usage determines values of resource settings according to
|
This usage determines values of resource settings according to
|
||||||
.Ar limitflags ,
|
.Ar limitflags ,
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
.Nm lock
|
.Nm lock
|
||||||
.Nd reserve a terminal
|
.Nd reserve a terminal
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm lock
|
.Nm
|
||||||
.Op Fl n
|
.Op Fl n
|
||||||
.Op Fl p
|
.Op Fl p
|
||||||
.Op Fl t Ar timeout
|
.Op Fl t Ar timeout
|
||||||
@ -67,6 +67,6 @@ minutes.
|
|||||||
.El
|
.El
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
The
|
The
|
||||||
.Nm lock
|
.Nm
|
||||||
command appeared in
|
command appeared in
|
||||||
.Bx 3.0 .
|
.Bx 3.0 .
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
.Nm lsvfs
|
.Nm lsvfs
|
||||||
.Nd list installed virtual file systems
|
.Nd list installed virtual file systems
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm lsvfs
|
.Nm
|
||||||
.Op Ar vfsname Ar ...
|
.Op Ar vfsname Ar ...
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The
|
The
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
.Nm m4
|
.Nm m4
|
||||||
.Nd macro language processor
|
.Nd macro language processor
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm m4
|
.Nm
|
||||||
.Oo
|
.Oo
|
||||||
.Fl D Ns Ar name Ns Op Ar =value
|
.Fl D Ns Ar name Ns Op Ar =value
|
||||||
.Oc
|
.Oc
|
||||||
@ -17,7 +17,7 @@
|
|||||||
\|.\|.\|.
|
\|.\|.\|.
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The
|
The
|
||||||
.Nm m4
|
.Nm
|
||||||
utility is a macro processor that can be used as a front end to any
|
utility is a macro processor that can be used as a front end to any
|
||||||
language (e.g., C, ratfor, fortran, lex, and yacc).
|
language (e.g., C, ratfor, fortran, lex, and yacc).
|
||||||
Each of the argument files is processed in order.
|
Each of the argument files is processed in order.
|
||||||
@ -52,7 +52,7 @@ Undefine the symbol
|
|||||||
.Ar name .
|
.Ar name .
|
||||||
.El
|
.El
|
||||||
.Sh SYNTAX
|
.Sh SYNTAX
|
||||||
.Nm m4
|
.Nm
|
||||||
provides the following built-in macros. They may be
|
provides the following built-in macros. They may be
|
||||||
redefined, losing their original meaning.
|
redefined, losing their original meaning.
|
||||||
Return values are NULL unless otherwise stated.
|
Return values are NULL unless otherwise stated.
|
||||||
@ -82,7 +82,7 @@ macro definitions (even for built-in macros).
|
|||||||
.It divert
|
.It divert
|
||||||
There are 10 output queues (numbered 0-9).
|
There are 10 output queues (numbered 0-9).
|
||||||
At the end of processing
|
At the end of processing
|
||||||
.Nm m4
|
.Nm
|
||||||
concatenates all the queues in numerical order to produce the
|
concatenates all the queues in numerical order to produce the
|
||||||
final output. Initially the output queue is 0. The divert
|
final output. Initially the output queue is 0. The divert
|
||||||
macro allows you to select a new output queue (an invalid argument
|
macro allows you to select a new output queue (an invalid argument
|
||||||
|
@ -39,18 +39,18 @@
|
|||||||
.Nm mail
|
.Nm mail
|
||||||
.Nd send and receive mail
|
.Nd send and receive mail
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm mail
|
.Nm
|
||||||
.Op Fl iInv
|
.Op Fl iInv
|
||||||
.Op Fl s Ar subject
|
.Op Fl s Ar subject
|
||||||
.Op Fl c Ar cc-addr
|
.Op Fl c Ar cc-addr
|
||||||
.Op Fl b Ar bcc-addr
|
.Op Fl b Ar bcc-addr
|
||||||
.Ar to-addr ...
|
.Ar to-addr ...
|
||||||
.Op \&- Ar sendmail-option ...
|
.Op \&- Ar sendmail-option ...
|
||||||
.Nm mail
|
.Nm
|
||||||
.Op Fl iInNv
|
.Op Fl iInNv
|
||||||
.Fl f
|
.Fl f
|
||||||
.Op Ar name
|
.Op Ar name
|
||||||
.Nm mail
|
.Nm
|
||||||
.Op Fl iInNv
|
.Op Fl iInNv
|
||||||
.Op Fl u Ar user
|
.Op Fl u Ar user
|
||||||
.Sh INTRODUCTION
|
.Sh INTRODUCTION
|
||||||
@ -69,7 +69,7 @@ delivery are displayed on the user's terminal.
|
|||||||
Ignore tty interrupt signals.
|
Ignore tty interrupt signals.
|
||||||
This is
|
This is
|
||||||
particularly useful when using
|
particularly useful when using
|
||||||
.Nm mail
|
.Nm
|
||||||
on noisy phone lines.
|
on noisy phone lines.
|
||||||
.It Fl I
|
.It Fl I
|
||||||
Forces mail to run in interactive mode even when
|
Forces mail to run in interactive mode even when
|
||||||
@ -105,7 +105,7 @@ Read in the contents of your
|
|||||||
(or the specified file)
|
(or the specified file)
|
||||||
for processing; when you
|
for processing; when you
|
||||||
.Ar quit ,
|
.Ar quit ,
|
||||||
.Nm mail
|
.Nm
|
||||||
writes undeleted messages back to this file.
|
writes undeleted messages back to this file.
|
||||||
.It Fl u
|
.It Fl u
|
||||||
Is equivalent to:
|
Is equivalent to:
|
||||||
@ -132,7 +132,7 @@ new message is to be sent, or whether an existing mailbox is to
|
|||||||
be read.
|
be read.
|
||||||
.Ss Sending mail
|
.Ss Sending mail
|
||||||
To send a message to one or more people,
|
To send a message to one or more people,
|
||||||
.Nm mail
|
.Nm
|
||||||
can be invoked with arguments which are the names of people to
|
can be invoked with arguments which are the names of people to
|
||||||
whom the mail will be sent.
|
whom the mail will be sent.
|
||||||
You are then expected to type in
|
You are then expected to type in
|
||||||
@ -143,12 +143,12 @@ at the beginning of a line.
|
|||||||
The section below
|
The section below
|
||||||
.Ar Replying to or originating mail ,
|
.Ar Replying to or originating mail ,
|
||||||
describes some features of
|
describes some features of
|
||||||
.Nm mail
|
.Nm
|
||||||
available to help you compose your letter.
|
available to help you compose your letter.
|
||||||
.Pp
|
.Pp
|
||||||
.Ss Reading mail
|
.Ss Reading mail
|
||||||
In normal usage
|
In normal usage
|
||||||
.Nm mail
|
.Nm
|
||||||
is given no arguments and checks your mail out of the
|
is given no arguments and checks your mail out of the
|
||||||
post office, then
|
post office, then
|
||||||
prints out a one line header of each message found.
|
prints out a one line header of each message found.
|
||||||
@ -175,13 +175,13 @@ the message or
|
|||||||
.Pq Ic r
|
.Pq Ic r
|
||||||
to it.
|
to it.
|
||||||
Deletion causes the
|
Deletion causes the
|
||||||
.Nm mail
|
.Nm
|
||||||
program to forget about the message.
|
program to forget about the message.
|
||||||
This is not irreversible; the message can be
|
This is not irreversible; the message can be
|
||||||
.Ic undeleted
|
.Ic undeleted
|
||||||
.Pq Ic u
|
.Pq Ic u
|
||||||
by giving its number, or the
|
by giving its number, or the
|
||||||
.Nm mail
|
.Nm
|
||||||
session can be aborted by giving the
|
session can be aborted by giving the
|
||||||
.Ic exit
|
.Ic exit
|
||||||
.Pq Ic x
|
.Pq Ic x
|
||||||
@ -220,7 +220,7 @@ person who it was from.
|
|||||||
Text you then type in, up to an end-of-file,
|
Text you then type in, up to an end-of-file,
|
||||||
defines the contents of the message.
|
defines the contents of the message.
|
||||||
While you are composing a message,
|
While you are composing a message,
|
||||||
.Nm mail
|
.Nm
|
||||||
treats lines beginning with the character
|
treats lines beginning with the character
|
||||||
.Ql Ic \&~
|
.Ql Ic \&~
|
||||||
specially.
|
specially.
|
||||||
@ -239,7 +239,7 @@ are given in the summary below.)
|
|||||||
.Pp
|
.Pp
|
||||||
.Ss Ending a mail processing session.
|
.Ss Ending a mail processing session.
|
||||||
You can end a
|
You can end a
|
||||||
.Nm mail
|
.Nm
|
||||||
session with the
|
session with the
|
||||||
.Ic quit
|
.Ic quit
|
||||||
.Pq Ic q
|
.Pq Ic q
|
||||||
@ -268,7 +268,7 @@ in your home directory.
|
|||||||
The current list of such aliases can be displayed with the
|
The current list of such aliases can be displayed with the
|
||||||
.Ic alias
|
.Ic alias
|
||||||
command in
|
command in
|
||||||
.Nm mail .
|
.Nm .
|
||||||
System wide distribution lists can be created by editing
|
System wide distribution lists can be created by editing
|
||||||
.Pa /etc/mail/aliases ,
|
.Pa /etc/mail/aliases ,
|
||||||
see
|
see
|
||||||
@ -314,7 +314,7 @@ command's requirements is used.
|
|||||||
If there are no messages forward of
|
If there are no messages forward of
|
||||||
the current message, the search proceeds backwards, and if there are no
|
the current message, the search proceeds backwards, and if there are no
|
||||||
good messages at all,
|
good messages at all,
|
||||||
.Nm mail
|
.Nm
|
||||||
types
|
types
|
||||||
.Dq Li No applicable messages
|
.Dq Li No applicable messages
|
||||||
and
|
and
|
||||||
@ -372,12 +372,12 @@ The
|
|||||||
.Ic alternates
|
.Ic alternates
|
||||||
command is useful if you have accounts on several machines.
|
command is useful if you have accounts on several machines.
|
||||||
It can be used to inform
|
It can be used to inform
|
||||||
.Nm mail
|
.Nm
|
||||||
that the listed addresses are really you.
|
that the listed addresses are really you.
|
||||||
When you
|
When you
|
||||||
.Ic reply
|
.Ic reply
|
||||||
to messages,
|
to messages,
|
||||||
.Nm mail
|
.Nm
|
||||||
will not send a copy of the message to any of the addresses
|
will not send a copy of the message to any of the addresses
|
||||||
listed on the
|
listed on the
|
||||||
.Ic alternates
|
.Ic alternates
|
||||||
@ -410,7 +410,7 @@ nor will they be available for most other commands.
|
|||||||
.Ic dt )
|
.Ic dt )
|
||||||
Deletes the current message and prints the next message.
|
Deletes the current message and prints the next message.
|
||||||
If there is no next message,
|
If there is no next message,
|
||||||
.Nm mail
|
.Nm
|
||||||
says
|
says
|
||||||
.Dq Li "at EOF" .
|
.Dq Li "at EOF" .
|
||||||
.It Ic edit
|
.It Ic edit
|
||||||
@ -693,7 +693,7 @@ presents message headers in windowfuls as described under the
|
|||||||
.Ic headers
|
.Ic headers
|
||||||
command.
|
command.
|
||||||
You can move
|
You can move
|
||||||
.Nm mail Ns 's
|
.Nm Ns 's
|
||||||
attention forward to the next window with the
|
attention forward to the next window with the
|
||||||
.Ic \&z
|
.Ic \&z
|
||||||
command.
|
command.
|
||||||
@ -829,7 +829,7 @@ This should always be set (preferably in one of the system-wide
|
|||||||
files).
|
files).
|
||||||
.It Ar ask
|
.It Ar ask
|
||||||
Causes
|
Causes
|
||||||
.Nm mail
|
.Nm
|
||||||
to prompt you for the subject of each message you send.
|
to prompt you for the subject of each message you send.
|
||||||
If
|
If
|
||||||
you respond with simply a newline, no subject field will be sent.
|
you respond with simply a newline, no subject field will be sent.
|
||||||
@ -851,14 +851,14 @@ Setting the binary option
|
|||||||
is the same as specifying
|
is the same as specifying
|
||||||
.Fl d
|
.Fl d
|
||||||
on the command line and causes
|
on the command line and causes
|
||||||
.Nm mail
|
.Nm
|
||||||
to output all sorts of information useful for debugging
|
to output all sorts of information useful for debugging
|
||||||
.Nm mail .
|
.Nm .
|
||||||
.It Ar dot
|
.It Ar dot
|
||||||
The binary option
|
The binary option
|
||||||
.Ar dot
|
.Ar dot
|
||||||
causes
|
causes
|
||||||
.Nm mail
|
.Nm
|
||||||
to interpret a period alone on a line as the terminator
|
to interpret a period alone on a line as the terminator
|
||||||
of a message you are sending.
|
of a message you are sending.
|
||||||
.It Ar hold
|
.It Ar hold
|
||||||
@ -873,11 +873,11 @@ An option related to
|
|||||||
is
|
is
|
||||||
.Ar ignoreeof
|
.Ar ignoreeof
|
||||||
which makes
|
which makes
|
||||||
.Nm mail
|
.Nm
|
||||||
refuse to accept a control-d as the end of a message.
|
refuse to accept a control-d as the end of a message.
|
||||||
.Ar Ignoreeof
|
.Ar Ignoreeof
|
||||||
also applies to
|
also applies to
|
||||||
.Nm mail
|
.Nm
|
||||||
command mode.
|
command mode.
|
||||||
.It Ar metoo
|
.It Ar metoo
|
||||||
Usually, when a group is expanded that contains the sender, the sender
|
Usually, when a group is expanded that contains the sender, the sender
|
||||||
@ -894,7 +894,7 @@ flag on the command line.
|
|||||||
Normally, when you abort a message with two
|
Normally, when you abort a message with two
|
||||||
.Tn RUBOUT
|
.Tn RUBOUT
|
||||||
(erase or delete)
|
(erase or delete)
|
||||||
.Nm mail
|
.Nm
|
||||||
copies the partial letter to the file
|
copies the partial letter to the file
|
||||||
.Dq Pa dead.letter
|
.Dq Pa dead.letter
|
||||||
in your home directory.
|
in your home directory.
|
||||||
@ -984,7 +984,7 @@ use in the place of ~ to denote escapes.
|
|||||||
The name of the directory to use for storing folders of
|
The name of the directory to use for storing folders of
|
||||||
messages.
|
messages.
|
||||||
If this name begins with a `/',
|
If this name begins with a `/',
|
||||||
.Nm mail
|
.Nm
|
||||||
considers it to be an absolute pathname; otherwise, the
|
considers it to be an absolute pathname; otherwise, the
|
||||||
folder directory is found relative to your home directory.
|
folder directory is found relative to your home directory.
|
||||||
.It Ev MBOX
|
.It Ev MBOX
|
||||||
@ -1067,7 +1067,7 @@ Most are
|
|||||||
not useful to the general user.
|
not useful to the general user.
|
||||||
.Pp
|
.Pp
|
||||||
Usually,
|
Usually,
|
||||||
.Nm mail
|
.Nm
|
||||||
is just a link to
|
is just a link to
|
||||||
.Nm Mail ,
|
.Nm Mail ,
|
||||||
which can be confusing.
|
which can be confusing.
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
.Nm make
|
.Nm make
|
||||||
.Nd maintain program dependencies
|
.Nd maintain program dependencies
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm make
|
.Nm
|
||||||
.Op Fl BPSXeiknqrstv
|
.Op Fl BPSXeiknqrstv
|
||||||
.Op Fl D Ar variable
|
.Op Fl D Ar variable
|
||||||
.Op Fl d Ar flags
|
.Op Fl d Ar flags
|
||||||
@ -206,7 +206,7 @@ Rather than re-building a target as specified in the makefile, create it
|
|||||||
or update its modification time to make it appear up-to-date.
|
or update its modification time to make it appear up-to-date.
|
||||||
.It Fl V Ar variable
|
.It Fl V Ar variable
|
||||||
Print
|
Print
|
||||||
.Nm make Ns 's
|
.Nm Ns 's
|
||||||
idea of the value of
|
idea of the value of
|
||||||
.Ar variable ,
|
.Ar variable ,
|
||||||
in the global context.
|
in the global context.
|
||||||
@ -369,7 +369,7 @@ are:
|
|||||||
.Bl -tag -width Ds
|
.Bl -tag -width Ds
|
||||||
.It Environment variables
|
.It Environment variables
|
||||||
Variables defined as part of
|
Variables defined as part of
|
||||||
.Nm make Ns 's
|
.Nm Ns 's
|
||||||
environment.
|
environment.
|
||||||
.It Global variables
|
.It Global variables
|
||||||
Variables defined in the makefile or in included makefiles.
|
Variables defined in the makefile or in included makefiles.
|
||||||
@ -506,14 +506,14 @@ The environment variable
|
|||||||
.Ev MAKEFLAGS
|
.Ev MAKEFLAGS
|
||||||
may contain anything that
|
may contain anything that
|
||||||
may be specified on
|
may be specified on
|
||||||
.Nm make Ns 's
|
.Nm Ns 's
|
||||||
command line.
|
command line.
|
||||||
Its contents are stored in
|
Its contents are stored in
|
||||||
.Nm make Ns 's
|
.Nm Ns 's
|
||||||
.Va .MAKEFLAGS
|
.Va .MAKEFLAGS
|
||||||
variable.
|
variable.
|
||||||
Anything specified on
|
Anything specified on
|
||||||
.Nm make Ns 's
|
.Nm Ns 's
|
||||||
command line is appended to the
|
command line is appended to the
|
||||||
.Va .MAKEFLAGS
|
.Va .MAKEFLAGS
|
||||||
variable which is then
|
variable which is then
|
||||||
@ -649,7 +649,7 @@ the rest of the modifier.
|
|||||||
.It Cm Q
|
.It Cm Q
|
||||||
Quotes every shell meta-character in the variable, so that it can be passed
|
Quotes every shell meta-character in the variable, so that it can be passed
|
||||||
safely through recursive invocations of
|
safely through recursive invocations of
|
||||||
.Nm make .
|
.Nm .
|
||||||
.It Cm R
|
.It Cm R
|
||||||
Replaces each word in the variable with everything but its suffix.
|
Replaces each word in the variable with everything but its suffix.
|
||||||
.Sm off
|
.Sm off
|
||||||
@ -725,7 +725,7 @@ Converts variable to upper-case letters.
|
|||||||
.Sh DIRECTIVES, CONDITIONALS, AND FOR LOOPS
|
.Sh DIRECTIVES, CONDITIONALS, AND FOR LOOPS
|
||||||
Directives, conditionals, and for loops reminiscent
|
Directives, conditionals, and for loops reminiscent
|
||||||
of the C programming language are provided in
|
of the C programming language are provided in
|
||||||
.Nm make .
|
.Nm .
|
||||||
All such structures are identified by a line beginning with a single
|
All such structures are identified by a line beginning with a single
|
||||||
dot
|
dot
|
||||||
.Pq Ql \&.
|
.Pq Ql \&.
|
||||||
@ -749,7 +749,7 @@ Terminate processing of the makefile immediately.
|
|||||||
The filename of the
|
The filename of the
|
||||||
makefile, the line on which the error was encountered and the specified
|
makefile, the line on which the error was encountered and the specified
|
||||||
message are printed to standard output and
|
message are printed to standard output and
|
||||||
.Nm make
|
.Nm
|
||||||
terminates with exit code 1. Variables in the message are expanded.
|
terminates with exit code 1. Variables in the message are expanded.
|
||||||
.El
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
@ -873,7 +873,7 @@ has been defined.
|
|||||||
.It Ic make
|
.It Ic make
|
||||||
Takes a target name as an argument and evaluates to true if the target
|
Takes a target name as an argument and evaluates to true if the target
|
||||||
was specified as part of
|
was specified as part of
|
||||||
.Nm make Ns 's
|
.Nm Ns 's
|
||||||
command line or was declared the default target (either implicitly or
|
command line or was declared the default target (either implicitly or
|
||||||
explicitly, see
|
explicitly, see
|
||||||
.Va .MAIN )
|
.Va .MAIN )
|
||||||
@ -982,7 +982,7 @@ or
|
|||||||
.Fl t
|
.Fl t
|
||||||
options were specified.
|
options were specified.
|
||||||
Normally used to mark recursive
|
Normally used to mark recursive
|
||||||
.Nm make Ns 's .
|
.Nm Ns 's .
|
||||||
.It Ic .NOTMAIN
|
.It Ic .NOTMAIN
|
||||||
Normally
|
Normally
|
||||||
.Nm
|
.Nm
|
||||||
@ -1005,7 +1005,7 @@ as if they all were preceded by an at sign
|
|||||||
.Pq Ql @ .
|
.Pq Ql @ .
|
||||||
.It Ic .USE
|
.It Ic .USE
|
||||||
Turn the target into
|
Turn the target into
|
||||||
.Nm make Ns 's
|
.Nm Ns 's
|
||||||
version of a macro.
|
version of a macro.
|
||||||
When the target is used as a source for another target, the other target
|
When the target is used as a source for another target, the other target
|
||||||
acquires the commands, sources, and attributes (except for
|
acquires the commands, sources, and attributes (except for
|
||||||
@ -1152,7 +1152,7 @@ attribute is applied to every
|
|||||||
command in the file.
|
command in the file.
|
||||||
.It Ic .SUFFIXES
|
.It Ic .SUFFIXES
|
||||||
Each source specifies a suffix to
|
Each source specifies a suffix to
|
||||||
.Nm make .
|
.Nm .
|
||||||
If no sources are specified, any previous specified suffices are deleted.
|
If no sources are specified, any previous specified suffices are deleted.
|
||||||
.Sh COMPATIBILITY
|
.Sh COMPATIBILITY
|
||||||
Older versions of
|
Older versions of
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
.Nm minigzip
|
.Nm minigzip
|
||||||
.Nd minimal implementation of the 'gzip' compression tool
|
.Nd minimal implementation of the 'gzip' compression tool
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm minigzip
|
.Nm
|
||||||
.Op Fl d
|
.Op Fl d
|
||||||
.Op Ar file ...
|
.Op Ar file ...
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
.Nm mk_cmds
|
.Nm mk_cmds
|
||||||
.Nd generate commands from table file
|
.Nd generate commands from table file
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm mk_cmds
|
.Nm
|
||||||
.Ar cmdtbl.ct
|
.Ar cmdtbl.ct
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The
|
The
|
||||||
@ -88,7 +88,7 @@ unimplemented ss_lasttest,
|
|||||||
lasttest, lt;
|
lasttest, lt;
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
The
|
The
|
||||||
.Nm mk_cmds
|
.Nm
|
||||||
utility
|
utility
|
||||||
was written by the MIT Student Information Processing Board and
|
was written by the MIT Student Information Processing Board and
|
||||||
appeared before
|
appeared before
|
||||||
|
@ -75,7 +75,7 @@ The options are as follows:
|
|||||||
.It Fl a
|
.It Fl a
|
||||||
Append to the output file,
|
Append to the output file,
|
||||||
so that multiple
|
so that multiple
|
||||||
.Nm mkdep Ns 's
|
.Nm Ns 's
|
||||||
may be run from a single Makefile.
|
may be run from a single Makefile.
|
||||||
.It Fl f
|
.It Fl f
|
||||||
Write the include file dependencies to
|
Write the include file dependencies to
|
||||||
|
@ -42,18 +42,18 @@
|
|||||||
.Nm mklocale
|
.Nm mklocale
|
||||||
.Nd make LC_CTYPE locale files
|
.Nd make LC_CTYPE locale files
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm mklocale
|
.Nm
|
||||||
.Op Fl d
|
.Op Fl d
|
||||||
.Ar "< src-file"
|
.Ar "< src-file"
|
||||||
.Ar "> language/LC_CTYPE"
|
.Ar "> language/LC_CTYPE"
|
||||||
.Nm mklocale
|
.Nm
|
||||||
.Op Fl d
|
.Op Fl d
|
||||||
.Fl o
|
.Fl o
|
||||||
.Ar language/LC_CTYPE
|
.Ar language/LC_CTYPE
|
||||||
.Ar src-file
|
.Ar src-file
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The
|
The
|
||||||
.Nm mklocale
|
.Nm
|
||||||
utility reads a
|
utility reads a
|
||||||
.Dv LC_CTYPE
|
.Dv LC_CTYPE
|
||||||
source file from standard input and produces a
|
source file from standard input and produces a
|
||||||
@ -142,7 +142,7 @@ No translation and the default.
|
|||||||
.It Dv UTF2
|
.It Dv UTF2
|
||||||
.Dv "Universal character set Transformation Format"
|
.Dv "Universal character set Transformation Format"
|
||||||
adopted from
|
adopted from
|
||||||
.Nm "Plan 9 from Bell Labs" .
|
.Tn "Plan 9 from Bell Labs" .
|
||||||
This is the preferred encoding.
|
This is the preferred encoding.
|
||||||
.It Dv EUC
|
.It Dv EUC
|
||||||
.Dv EUC
|
.Dv EUC
|
||||||
@ -201,11 +201,9 @@ Defines a map from runes to their digit value.
|
|||||||
is the integer value represented by
|
is the integer value represented by
|
||||||
.Dv RUNE1 .
|
.Dv RUNE1 .
|
||||||
For example, the ASCII character
|
For example, the ASCII character
|
||||||
.Nm '0'
|
.Ql 0
|
||||||
would map to the decimal value
|
would map to the decimal value 0.
|
||||||
.Nm 0 .
|
Only values up to 255
|
||||||
Only values up to
|
|
||||||
.Nm 255
|
|
||||||
are allowed.
|
are allowed.
|
||||||
.El
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
@ -260,10 +258,10 @@ Defines runes which are phonograms, printable and graphic.
|
|||||||
.Xr utf2 4
|
.Xr utf2 4
|
||||||
.Sh BUGS
|
.Sh BUGS
|
||||||
The
|
The
|
||||||
.Nm mklocale
|
.Nm
|
||||||
utility is overly simplistic.
|
utility is overly simplistic.
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
The
|
The
|
||||||
.Nm mklocale
|
.Nm
|
||||||
utility first appeared in
|
utility first appeared in
|
||||||
.Bx 4.4 .
|
.Bx 4.4 .
|
||||||
|
@ -39,13 +39,13 @@
|
|||||||
.Nm mktemp
|
.Nm mktemp
|
||||||
.Nd make temporary file name (unique)
|
.Nd make temporary file name (unique)
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm mktemp
|
.Nm
|
||||||
.Op Fl d
|
.Op Fl d
|
||||||
.Op Fl q
|
.Op Fl q
|
||||||
.Op Fl t Ar prefix
|
.Op Fl t Ar prefix
|
||||||
.Op Fl u
|
.Op Fl u
|
||||||
.Ar template ...
|
.Ar template ...
|
||||||
.Nm mktemp
|
.Nm
|
||||||
.Op Fl d
|
.Op Fl d
|
||||||
.Op Fl q
|
.Op Fl q
|
||||||
.Op Fl u
|
.Op Fl u
|
||||||
|
@ -43,9 +43,9 @@
|
|||||||
.Op Fl fhlpq
|
.Op Fl fhlpq
|
||||||
.Op Ar number
|
.Op Ar number
|
||||||
.Op Ar \-number
|
.Op Ar \-number
|
||||||
.Nm msgs
|
.Nm
|
||||||
.Op Fl s
|
.Op Fl s
|
||||||
.Nm msgs
|
.Nm
|
||||||
.Op Fl c
|
.Op Fl c
|
||||||
.Op \-days
|
.Op \-days
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
@ -81,7 +81,7 @@ and go on to the next message.
|
|||||||
Redisplay the last message.
|
Redisplay the last message.
|
||||||
.It Fl q
|
.It Fl q
|
||||||
Drop out of
|
Drop out of
|
||||||
.Nm msgs ;
|
.Nm ;
|
||||||
the next time
|
the next time
|
||||||
.Nm
|
.Nm
|
||||||
will pick up where it last left off.
|
will pick up where it last left off.
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
.Nm mt
|
.Nm mt
|
||||||
.Nd magnetic tape manipulating program
|
.Nd magnetic tape manipulating program
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm mt
|
.Nm
|
||||||
.Op Fl f Ar tapename
|
.Op Fl f Ar tapename
|
||||||
.Ar command
|
.Ar command
|
||||||
.Op Ar count
|
.Op Ar count
|
||||||
@ -306,7 +306,7 @@ NOTES
|
|||||||
|
|
||||||
.Sh ENVIRONMENT
|
.Sh ENVIRONMENT
|
||||||
If the following environment variable exists, it is utilized by
|
If the following environment variable exists, it is utilized by
|
||||||
.Nm mt .
|
.Nm .
|
||||||
.Bl -tag -width Fl
|
.Bl -tag -width Fl
|
||||||
.It Ev TAPE
|
.It Ev TAPE
|
||||||
.Nm Mt
|
.Nm Mt
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
.Nm ncal
|
.Nm ncal
|
||||||
.Nd displays a calendar and the date of easter
|
.Nd displays a calendar and the date of easter
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm cal
|
.Nm
|
||||||
.Op Fl jy
|
.Op Fl jy
|
||||||
.Op Oo Ar month Oc Ar \ year
|
.Op Oo Ar month Oc Ar \ year
|
||||||
.Nm ncal
|
.Nm ncal
|
||||||
@ -102,7 +102,7 @@ A year starts on Jan 1.
|
|||||||
.Rs
|
.Rs
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
A
|
A
|
||||||
.Nm cal
|
.Nm
|
||||||
command appeared in
|
command appeared in
|
||||||
.At v6 .
|
.At v6 .
|
||||||
The
|
The
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
.Nm ncplist
|
.Nm ncplist
|
||||||
.Nd Displays various information about ncplib and NetWare servers
|
.Nd Displays various information about ncplib and NetWare servers
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm ncplist
|
.Nm
|
||||||
.Ar command
|
.Ar command
|
||||||
.Op Ar args
|
.Op Ar args
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
.Nm ncplogin
|
.Nm ncplogin
|
||||||
.Nd create permanent connection to a NetWare server
|
.Nd create permanent connection to a NetWare server
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm ncplogin
|
.Nm
|
||||||
.Op Fl BCDN
|
.Op Fl BCDN
|
||||||
.Op Fl S Ar server
|
.Op Fl S Ar server
|
||||||
.Op Fl U Ar user
|
.Op Fl U Ar user
|
||||||
@ -22,7 +22,7 @@
|
|||||||
.Op Fl R Ar retrycount
|
.Op Fl R Ar retrycount
|
||||||
.Op Fl T Ar tree
|
.Op Fl T Ar tree
|
||||||
.Op Fl W Ar timeout
|
.Op Fl W Ar timeout
|
||||||
.Nm ncplogin
|
.Nm
|
||||||
.Op Fl BCDN
|
.Op Fl BCDN
|
||||||
.Op Fl A Ar host
|
.Op Fl A Ar host
|
||||||
.Op Fl I Ar level
|
.Op Fl I Ar level
|
||||||
|
@ -6,11 +6,11 @@
|
|||||||
.Nm ncplogout
|
.Nm ncplogout
|
||||||
.Nd schedule permanent connection to close
|
.Nd schedule permanent connection to close
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm ncplogout
|
.Nm
|
||||||
.Op -S Ar server
|
.Op -S Ar server
|
||||||
.Op -U Ar user
|
.Op -U Ar user
|
||||||
.Op -c Ar handle
|
.Op -c Ar handle
|
||||||
.Nm ncplogout
|
.Nm
|
||||||
.Op -c Ar handle
|
.Op -c Ar handle
|
||||||
.No / Ns Ar server Ns : Ns Ar user
|
.No / Ns Ar server Ns : Ns Ar user
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
|
@ -39,38 +39,38 @@
|
|||||||
.Nm netstat
|
.Nm netstat
|
||||||
.Nd show network status
|
.Nd show network status
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm netstat
|
.Nm
|
||||||
.Op Fl AaLln
|
.Op Fl AaLln
|
||||||
.Op Fl f Ar address_family
|
.Op Fl f Ar address_family
|
||||||
.Op Fl M Ar core
|
.Op Fl M Ar core
|
||||||
.Op Fl N Ar system
|
.Op Fl N Ar system
|
||||||
.Nm netstat
|
.Nm
|
||||||
.Op Fl bdghilmnrs
|
.Op Fl bdghilmnrs
|
||||||
.Op Fl f Ar address_family
|
.Op Fl f Ar address_family
|
||||||
.Op Fl M Ar core
|
.Op Fl M Ar core
|
||||||
.Op Fl N Ar system
|
.Op Fl N Ar system
|
||||||
.Nm netstat
|
.Nm
|
||||||
.Op Fl bdn
|
.Op Fl bdn
|
||||||
.Op Fl I Ar interface
|
.Op Fl I Ar interface
|
||||||
.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
|
||||||
.Nm netstat
|
.Nm
|
||||||
.Op Fl p Ar protocol
|
.Op Fl p Ar protocol
|
||||||
.Op Fl M Ar core
|
.Op Fl M Ar core
|
||||||
.Op Fl N Ar system
|
.Op Fl N Ar system
|
||||||
.Nm netstat
|
.Nm
|
||||||
.Op Fl p Ar protocol
|
.Op Fl p Ar protocol
|
||||||
.Op Fl i
|
.Op Fl i
|
||||||
.Op Fl I Ar Interface
|
.Op Fl I Ar Interface
|
||||||
.Nm netstat
|
.Nm
|
||||||
.Op Fl s
|
.Op Fl s
|
||||||
.Op Fl f Ar address_family
|
.Op Fl f Ar address_family
|
||||||
.Op Fl i
|
.Op Fl i
|
||||||
.Op Fl I Ar Interface
|
.Op Fl I Ar Interface
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The
|
The
|
||||||
.Nm netstat
|
.Nm
|
||||||
command symbolically displays the contents of various network-related
|
command symbolically displays the contents of various network-related
|
||||||
data structures.
|
data structures.
|
||||||
There are a number of output formats,
|
There are a number of output formats,
|
||||||
@ -82,7 +82,7 @@ data structures according to the option selected.
|
|||||||
Using the third form, with a
|
Using the third form, with a
|
||||||
.Ar wait
|
.Ar wait
|
||||||
interval specified,
|
interval specified,
|
||||||
.Nm netstat
|
.Nm
|
||||||
will continuously display the information regarding packet
|
will continuously display the information regarding packet
|
||||||
traffic on the configured network interfaces.
|
traffic on the configured network interfaces.
|
||||||
The fourth form displays statistics about the named protocol.
|
The fourth form displays statistics about the named protocol.
|
||||||
@ -217,7 +217,7 @@ Extract the name list from the specified system instead of the default
|
|||||||
.Pa /kernel .
|
.Pa /kernel .
|
||||||
.It Fl n
|
.It Fl n
|
||||||
Show network addresses as numbers (normally
|
Show network addresses as numbers (normally
|
||||||
.Nm netstat
|
.Nm
|
||||||
interprets addresses and attempts to display them
|
interprets addresses and attempts to display them
|
||||||
symbolically).
|
symbolically).
|
||||||
This option may be used with any of the display formats.
|
This option may be used with any of the display formats.
|
||||||
@ -337,7 +337,7 @@ sent using that route. The interface entry indicates the network
|
|||||||
interface utilized for the route.
|
interface utilized for the route.
|
||||||
.Pp
|
.Pp
|
||||||
When
|
When
|
||||||
.Nm netstat
|
.Nm
|
||||||
is invoked with the
|
is invoked with the
|
||||||
.Fl w
|
.Fl w
|
||||||
option and a
|
option and a
|
||||||
@ -366,7 +366,7 @@ option.
|
|||||||
.Xr vmstat 8
|
.Xr vmstat 8
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
The
|
The
|
||||||
.Nm netstat
|
.Nm
|
||||||
command appeared in
|
command appeared in
|
||||||
.Bx 4.2 .
|
.Bx 4.2 .
|
||||||
.Pp
|
.Pp
|
||||||
|
@ -7,9 +7,9 @@
|
|||||||
.Nm newkey
|
.Nm newkey
|
||||||
.Nd create a new key in the publickey database
|
.Nd create a new key in the publickey database
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm newkey
|
.Nm
|
||||||
.Fl h Ar hostname
|
.Fl h Ar hostname
|
||||||
.Nm newkey
|
.Nm
|
||||||
.Fl u Ar username
|
.Fl u Ar username
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm Newkey
|
.Nm Newkey
|
||||||
|
@ -63,7 +63,7 @@ at priority
|
|||||||
.Ar number
|
.Ar number
|
||||||
relative to the priority
|
relative to the priority
|
||||||
of
|
of
|
||||||
.Nm nice .
|
.Nm .
|
||||||
Higher priorities than the
|
Higher priorities than the
|
||||||
current process priority can only requested by the
|
current process priority can only requested by the
|
||||||
super-user.
|
super-user.
|
||||||
@ -72,7 +72,7 @@ Negative numbers are expressed as
|
|||||||
.Pp
|
.Pp
|
||||||
The returned exit status is the exit value from the
|
The returned exit status is the exit value from the
|
||||||
command executed by
|
command executed by
|
||||||
.Nm nice .
|
.Nm .
|
||||||
.Pp
|
.Pp
|
||||||
Some shells may provide a builtin
|
Some shells may provide a builtin
|
||||||
.Nm
|
.Nm
|
||||||
|
@ -79,7 +79,7 @@ Consult the
|
|||||||
manual page.
|
manual page.
|
||||||
.Sh ENVIRONMENT
|
.Sh ENVIRONMENT
|
||||||
The following variable is utilized by
|
The following variable is utilized by
|
||||||
.Nm Ns :
|
.Nm :
|
||||||
.Bl -tag -width flag
|
.Bl -tag -width flag
|
||||||
.It Ev HOME
|
.It Ev HOME
|
||||||
If the output file
|
If the output file
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
.Nm objformat
|
.Nm objformat
|
||||||
.Nd reports default binary format and program deflector
|
.Nd reports default binary format and program deflector
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm objformat
|
.Nm
|
||||||
.Nm prog
|
.Nm prog
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
If run as
|
If run as
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
.Nm pagesize
|
.Nm pagesize
|
||||||
.Nd print system page size
|
.Nd print system page size
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm pagesize
|
.Nm
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm Pagesize
|
.Nm Pagesize
|
||||||
prints the size of a page of memory in bytes, as
|
prints the size of a page of memory in bytes, as
|
||||||
@ -51,7 +51,7 @@ shell scripts.
|
|||||||
.Xr getpagesize 3
|
.Xr getpagesize 3
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
The
|
The
|
||||||
.Nm pagesize
|
.Nm
|
||||||
command
|
command
|
||||||
appeared in
|
appeared in
|
||||||
.Bx 4.2 .
|
.Bx 4.2 .
|
||||||
|
@ -36,10 +36,10 @@
|
|||||||
.Dt PASSWD 1
|
.Dt PASSWD 1
|
||||||
.Os BSD 4
|
.Os BSD 4
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm passwd, yppasswd
|
.Nm passwd , yppasswd
|
||||||
.Nd modify a user's password
|
.Nd modify a user's password
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm passwd
|
.Nm
|
||||||
.Op Fl l
|
.Op Fl l
|
||||||
.Op Ar user
|
.Op Ar user
|
||||||
.Nm yppasswd
|
.Nm yppasswd
|
||||||
@ -52,13 +52,13 @@
|
|||||||
.Nm Passwd
|
.Nm Passwd
|
||||||
changes the user's local, Kerberos, or NIS password.
|
changes the user's local, Kerberos, or NIS password.
|
||||||
If the user is not the super-user,
|
If the user is not the super-user,
|
||||||
.Nm passwd
|
.Nm
|
||||||
first prompts for the current password and will not continue unless the correct
|
first prompts for the current password and will not continue unless the correct
|
||||||
password is entered.
|
password is entered.
|
||||||
.Pp
|
.Pp
|
||||||
When entering the new password, the characters entered do not echo, in order to
|
When entering the new password, the characters entered do not echo, in order to
|
||||||
avoid the password being seen by a passer-by.
|
avoid the password being seen by a passer-by.
|
||||||
.Nm passwd
|
.Nm
|
||||||
prompts for the new password twice in order to detect typing errors.
|
prompts for the new password twice in order to detect typing errors.
|
||||||
.Pp
|
.Pp
|
||||||
The new password should be at least six characters long (which
|
The new password should be at least six characters long (which
|
||||||
@ -81,7 +81,7 @@ authenticate Windows clients. In all other situations, numbers, upper
|
|||||||
case letters and meta characters are encouraged.
|
case letters and meta characters are encouraged.
|
||||||
.Pp
|
.Pp
|
||||||
Once the password has been verified,
|
Once the password has been verified,
|
||||||
.Nm passwd
|
.Nm
|
||||||
communicates the new password information to
|
communicates the new password information to
|
||||||
the Kerberos authenticating host.
|
the Kerberos authenticating host.
|
||||||
.Bl -tag -width flag
|
.Bl -tag -width flag
|
||||||
@ -110,14 +110,14 @@ if only the local password is modified.
|
|||||||
has built-in support for NIS.
|
has built-in support for NIS.
|
||||||
If a user exists in the NIS password
|
If a user exists in the NIS password
|
||||||
database but does not exist locally,
|
database but does not exist locally,
|
||||||
.Nm passwd
|
.Nm
|
||||||
automatically switches into
|
automatically switches into
|
||||||
.Dq yppasswd
|
.Dq yppasswd
|
||||||
mode.
|
mode.
|
||||||
If the specified
|
If the specified
|
||||||
user does not exist in either the local password database of the
|
user does not exist in either the local password database of the
|
||||||
NIS password maps,
|
NIS password maps,
|
||||||
.Nm passwd
|
.Nm
|
||||||
returns an error.
|
returns an error.
|
||||||
.Pp
|
.Pp
|
||||||
When changing an NIS password, unprivileged users are required to provide
|
When changing an NIS password, unprivileged users are required to provide
|
||||||
@ -140,14 +140,14 @@ The following additional options are supported for use with NIS:
|
|||||||
The
|
The
|
||||||
.Fl y
|
.Fl y
|
||||||
flag overrides
|
flag overrides
|
||||||
.Nm passwd 's
|
.Nm Ns 's
|
||||||
checking heuristics and forces
|
checking heuristics and forces
|
||||||
it into NIS mode.
|
it into NIS mode.
|
||||||
.It Fl l
|
.It Fl l
|
||||||
When NIS is enabled, the
|
When NIS is enabled, the
|
||||||
.Fl l
|
.Fl l
|
||||||
flag can be used to force
|
flag can be used to force
|
||||||
.Nm passwd
|
.Nm
|
||||||
into
|
into
|
||||||
.Dq local only
|
.Dq local only
|
||||||
mode.
|
mode.
|
||||||
@ -162,7 +162,7 @@ or
|
|||||||
in both the NIS password maps and the local user database.
|
in both the NIS password maps and the local user database.
|
||||||
By
|
By
|
||||||
default,
|
default,
|
||||||
.Nm passwd
|
.Nm
|
||||||
will try to change the NIS password.
|
will try to change the NIS password.
|
||||||
The
|
The
|
||||||
.Fl l
|
.Fl l
|
||||||
@ -170,7 +170,7 @@ flag can be used to change the local password instead.
|
|||||||
.It Fl d Ar domain
|
.It Fl d Ar domain
|
||||||
Specify what domain to use when changing an NIS password.
|
Specify what domain to use when changing an NIS password.
|
||||||
By default,
|
By default,
|
||||||
.Nm passwd
|
.Nm
|
||||||
assumes that the system default domain should be used.
|
assumes that the system default domain should be used.
|
||||||
This flag is
|
This flag is
|
||||||
primarily for use by the superuser on the NIS master server: a single
|
primarily for use by the superuser on the NIS master server: a single
|
||||||
@ -178,7 +178,7 @@ NIS server can support multiple domains.
|
|||||||
It is also possible that the
|
It is also possible that the
|
||||||
domainname on the NIS master may not be set (it is not necessary for
|
domainname on the NIS master may not be set (it is not necessary for
|
||||||
an NIS server to also be a client) in which case the
|
an NIS server to also be a client) in which case the
|
||||||
.Nm passwd
|
.Nm
|
||||||
command needs to be told what domain to operate on.
|
command needs to be told what domain to operate on.
|
||||||
.It Fl h Ar host
|
.It Fl h Ar host
|
||||||
Specify the name of an NIS server.
|
Specify the name of an NIS server.
|
||||||
@ -190,7 +190,7 @@ server.
|
|||||||
When a domain is specified with the
|
When a domain is specified with the
|
||||||
.Fl d
|
.Fl d
|
||||||
option and
|
option and
|
||||||
.Nm passwd
|
.Nm
|
||||||
is unable to determine the name of the NIS master server (possibly because
|
is unable to determine the name of the NIS master server (possibly because
|
||||||
the local domainname isn't set), the name of the NIS master is assumed to
|
the local domainname isn't set), the name of the NIS master is assumed to
|
||||||
be
|
be
|
||||||
@ -241,9 +241,9 @@ configure authentication services
|
|||||||
The
|
The
|
||||||
.Xr yppasswd 1
|
.Xr yppasswd 1
|
||||||
command is really only a link to
|
command is really only a link to
|
||||||
.Nm passwd .
|
.Nm .
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
A
|
A
|
||||||
.Nm passwd
|
.Nm
|
||||||
command appeared in
|
command appeared in
|
||||||
.At v6 .
|
.At v6 .
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
.Nm printenv , env
|
.Nm printenv , env
|
||||||
.Nd print out the environment, set and print environment
|
.Nd print out the environment, set and print environment
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm printenv
|
.Nm
|
||||||
.Op Ar name
|
.Op Ar name
|
||||||
.Nm env
|
.Nm env
|
||||||
.Op Fl
|
.Op Fl
|
||||||
@ -59,7 +59,7 @@ its value is printed.
|
|||||||
If a
|
If a
|
||||||
.Ar name
|
.Ar name
|
||||||
is specified and it is not defined in the environment,
|
is specified and it is not defined in the environment,
|
||||||
.Nm printenv
|
.Nm
|
||||||
returns exit status 1, else it returns status 0.
|
returns exit status 1, else it returns status 0.
|
||||||
.Pp
|
.Pp
|
||||||
Some shells may provide a builtin
|
Some shells may provide a builtin
|
||||||
@ -108,7 +108,7 @@ of the variables in the environment, with one name/value pair per line.
|
|||||||
.Xr environ 7
|
.Xr environ 7
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
The
|
The
|
||||||
.Nm printenv
|
.Nm
|
||||||
command appeared in
|
command appeared in
|
||||||
.Bx 3.0 .
|
.Bx 3.0 .
|
||||||
.Sh BUGS
|
.Sh BUGS
|
||||||
|
@ -42,15 +42,15 @@
|
|||||||
.Nm quota
|
.Nm quota
|
||||||
.Nd display disk usage and limits
|
.Nd display disk usage and limits
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm quota
|
.Nm
|
||||||
.Op Fl g
|
.Op Fl g
|
||||||
.Op Fl u
|
.Op Fl u
|
||||||
.Op Fl v | Fl q
|
.Op Fl v | Fl q
|
||||||
.Nm quota
|
.Nm
|
||||||
.Op Fl u
|
.Op Fl u
|
||||||
.Op Fl v | Fl q
|
.Op Fl v | Fl q
|
||||||
.Ar user
|
.Ar user
|
||||||
.Nm quota
|
.Nm
|
||||||
.Op Fl g
|
.Op Fl g
|
||||||
.Op Fl v | Fl q
|
.Op Fl v | Fl q
|
||||||
.Ar group
|
.Ar group
|
||||||
|
@ -46,7 +46,7 @@
|
|||||||
.Op Fl d Ar var=value
|
.Op Fl d Ar var=value
|
||||||
.Op Fl m Ar host
|
.Op Fl m Ar host
|
||||||
.Op Ar name ...
|
.Op Ar name ...
|
||||||
.Nm rdist
|
.Nm
|
||||||
.Op Fl nqbRhivwyD
|
.Op Fl nqbRhivwyD
|
||||||
.Op Fl P Ar rshcmd
|
.Op Fl P Ar rshcmd
|
||||||
.Fl c
|
.Fl c
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
.Nm renice
|
.Nm renice
|
||||||
.Nd alter priority of running processes
|
.Nd alter priority of running processes
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm renice
|
.Nm
|
||||||
.Ar priority
|
.Ar priority
|
||||||
.Oo
|
.Oo
|
||||||
.Op Fl p
|
.Op Fl p
|
||||||
@ -71,7 +71,7 @@ By default, the processes to be affected are specified by
|
|||||||
their process ID's.
|
their process ID's.
|
||||||
.Pp
|
.Pp
|
||||||
Options supported by
|
Options supported by
|
||||||
.Nm renice :
|
.Nm :
|
||||||
.Bl -tag -width Ds
|
.Bl -tag -width Ds
|
||||||
.It Fl g
|
.It Fl g
|
||||||
Force
|
Force
|
||||||
|
@ -39,11 +39,11 @@
|
|||||||
.Nm rev
|
.Nm rev
|
||||||
.Nd reverse lines of a file
|
.Nd reverse lines of a file
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm rev
|
.Nm
|
||||||
.Op Ar file ...
|
.Op Ar file ...
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
The
|
The
|
||||||
.Nm rev
|
.Nm
|
||||||
utility copies the specified files to the standard output, reversing the
|
utility copies the specified files to the standard output, reversing the
|
||||||
order of characters in every line.
|
order of characters in every line.
|
||||||
If no files are specified, the standard input is read.
|
If no files are specified, the standard input is read.
|
||||||
|
@ -191,7 +191,7 @@ standard Berkeley
|
|||||||
is used instead.
|
is used instead.
|
||||||
.Sh ENVIRONMENT
|
.Sh ENVIRONMENT
|
||||||
The following environment variable is utilized by
|
The following environment variable is utilized by
|
||||||
.Nm Ns :
|
.Nm :
|
||||||
.Bl -tag -width TERM
|
.Bl -tag -width TERM
|
||||||
.It Ev TERM
|
.It Ev TERM
|
||||||
Determines the user's terminal type.
|
Determines the user's terminal type.
|
||||||
|
@ -8,9 +8,9 @@
|
|||||||
.Nm rpcgen
|
.Nm rpcgen
|
||||||
.Nd an RPC protocol compiler
|
.Nd an RPC protocol compiler
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm rpcgen
|
.Nm
|
||||||
.Ar infile
|
.Ar infile
|
||||||
.Nm rpcgen
|
.Nm
|
||||||
.Op Fl a
|
.Op Fl a
|
||||||
.Op Fl b
|
.Op Fl b
|
||||||
.Op Fl C
|
.Op Fl C
|
||||||
@ -25,7 +25,7 @@
|
|||||||
.Op Fl T
|
.Op Fl T
|
||||||
.Op Fl Y Ar pathname
|
.Op Fl Y Ar pathname
|
||||||
.Ar infile
|
.Ar infile
|
||||||
.Nm rpcgen
|
.Nm
|
||||||
.Oo
|
.Oo
|
||||||
.Fl c |
|
.Fl c |
|
||||||
.Fl h |
|
.Fl h |
|
||||||
@ -38,11 +38,11 @@
|
|||||||
.Oc
|
.Oc
|
||||||
.Op Fl o Ar outfile
|
.Op Fl o Ar outfile
|
||||||
.Op Ar infile
|
.Op Ar infile
|
||||||
.Nm rpcgen
|
.Nm
|
||||||
.Op Fl s Ar nettype
|
.Op Fl s Ar nettype
|
||||||
.Op Fl o Ar outfile
|
.Op Fl o Ar outfile
|
||||||
.Op Ar infile
|
.Op Ar infile
|
||||||
.Nm rpcgen
|
.Nm
|
||||||
.Op Fl n Ar netid
|
.Op Fl n Ar netid
|
||||||
.Op Fl o Ar outfile
|
.Op Fl o Ar outfile
|
||||||
.Op Ar infile
|
.Op Ar infile
|
||||||
@ -193,7 +193,7 @@ accepts the standard input.
|
|||||||
The C preprocessor,
|
The C preprocessor,
|
||||||
.Em cc -E
|
.Em cc -E
|
||||||
is run on the input file before it is actually interpreted by
|
is run on the input file before it is actually interpreted by
|
||||||
.Nm Ns .
|
.Nm .
|
||||||
For each type of output file,
|
For each type of output file,
|
||||||
.Nm
|
.Nm
|
||||||
defines a special preprocessor symbol for use by the
|
defines a special preprocessor symbol for use by the
|
||||||
@ -216,7 +216,7 @@ Any line beginning with
|
|||||||
.Dq %
|
.Dq %
|
||||||
is passed directly into the output file,
|
is passed directly into the output file,
|
||||||
uninterpreted by
|
uninterpreted by
|
||||||
.Nm Ns .
|
.Nm .
|
||||||
To specify the path name of the C preprocessor use
|
To specify the path name of the C preprocessor use
|
||||||
.Fl Y
|
.Fl Y
|
||||||
flag.
|
flag.
|
||||||
|
@ -8,23 +8,23 @@
|
|||||||
.Nm rpcinfo
|
.Nm rpcinfo
|
||||||
.Nd report RPC information
|
.Nd report RPC information
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm rpcinfo
|
.Nm
|
||||||
.Fl p
|
.Fl p
|
||||||
.Op Ar host
|
.Op Ar host
|
||||||
.Nm rpcinfo
|
.Nm
|
||||||
.Op Fl n Ar portnum
|
.Op Fl n Ar portnum
|
||||||
.Fl u Ar host
|
.Fl u Ar host
|
||||||
.Ar program
|
.Ar program
|
||||||
.Op Ar version
|
.Op Ar version
|
||||||
.Nm rpcinfo
|
.Nm
|
||||||
.Op Fl n Ar portnum
|
.Op Fl n Ar portnum
|
||||||
.Fl t Ar host
|
.Fl t Ar host
|
||||||
.Ar program
|
.Ar program
|
||||||
.Op Ar version
|
.Op Ar version
|
||||||
.Nm rpcinfo
|
.Nm
|
||||||
.Fl b
|
.Fl b
|
||||||
.Ar program version
|
.Ar program version
|
||||||
.Nm rpcinfo
|
.Nm
|
||||||
.Fl d
|
.Fl d
|
||||||
.Ar program version
|
.Ar program version
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
.Nm rs
|
.Nm rs
|
||||||
.Nd reshape a data array
|
.Nd reshape a data array
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm rs
|
.Nm
|
||||||
.Oo
|
.Oo
|
||||||
.Fl Op csCS
|
.Fl Op csCS
|
||||||
.Op Ar x
|
.Op Ar x
|
||||||
|
@ -178,7 +178,7 @@ You cannot run an interactive command
|
|||||||
or
|
or
|
||||||
.Xr vi 1 )
|
.Xr vi 1 )
|
||||||
using
|
using
|
||||||
.Nm Ns ;
|
.Nm ;
|
||||||
use
|
use
|
||||||
.Xr rlogin 1
|
.Xr rlogin 1
|
||||||
instead.
|
instead.
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
.Nm ruptime
|
.Nm ruptime
|
||||||
.Nd show host status of local machines
|
.Nd show host status of local machines
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm ruptime
|
.Nm
|
||||||
.Op Fl alrtu
|
.Op Fl alrtu
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm Ruptime
|
.Nm Ruptime
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
.Nm rusers
|
.Nm rusers
|
||||||
.Nd who is logged in to machines on local network
|
.Nd who is logged in to machines on local network
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm rusers
|
.Nm
|
||||||
.Op Fl al
|
.Op Fl al
|
||||||
.Op Ar host ...
|
.Op Ar host ...
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
|
@ -113,7 +113,7 @@ works best with commands that do not manipulate the screen.
|
|||||||
The results are meant to emulate a hardcopy terminal, not an addressable one.
|
The results are meant to emulate a hardcopy terminal, not an addressable one.
|
||||||
.Sh ENVIRONMENT
|
.Sh ENVIRONMENT
|
||||||
The following environment variable is utilized by
|
The following environment variable is utilized by
|
||||||
.Nm script :
|
.Nm :
|
||||||
.Bl -tag -width SHELL
|
.Bl -tag -width SHELL
|
||||||
.It Ev SHELL
|
.It Ev SHELL
|
||||||
If the variable
|
If the variable
|
||||||
|
@ -42,11 +42,11 @@
|
|||||||
.Nm sed
|
.Nm sed
|
||||||
.Nd stream editor
|
.Nd stream editor
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm sed
|
.Nm
|
||||||
.Op Fl Ean
|
.Op Fl Ean
|
||||||
.Ar command
|
.Ar command
|
||||||
.Op Ar file ...
|
.Op Ar file ...
|
||||||
.Nm sed
|
.Nm
|
||||||
.Op Fl Ean
|
.Op Fl Ean
|
||||||
.Op Fl e Ar command
|
.Op Fl e Ar command
|
||||||
.Op Fl f Ar command_file
|
.Op Fl f Ar command_file
|
||||||
@ -59,7 +59,7 @@ are specified, modifying the input as specified by a list of commands.
|
|||||||
The input is then written to the standard output.
|
The input is then written to the standard output.
|
||||||
.Pp
|
.Pp
|
||||||
A single command may be specified as the first argument to
|
A single command may be specified as the first argument to
|
||||||
.Nm Ns .
|
.Nm .
|
||||||
Multiple commands may be specified by using the
|
Multiple commands may be specified by using the
|
||||||
.Fl e
|
.Fl e
|
||||||
or
|
or
|
||||||
@ -167,7 +167,7 @@ of the exclamation character
|
|||||||
function.
|
function.
|
||||||
.Sh "Sed Regular Expressions"
|
.Sh "Sed Regular Expressions"
|
||||||
The regular expressions used in
|
The regular expressions used in
|
||||||
.Nm sed ,
|
.Nm ,
|
||||||
by default, are basic regular expressions (BREs, see
|
by default, are basic regular expressions (BREs, see
|
||||||
.Xr re_format 7
|
.Xr re_format 7
|
||||||
for more information).
|
for more information).
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user