Use `The .Nm utility'
This commit is contained in:
parent
d219790077
commit
79b89ed363
@ -48,7 +48,9 @@
|
||||
.Op Fl t Ar type
|
||||
.Op Ar file | filesystem ...
|
||||
.Sh DESCRIPTION
|
||||
.Nm Df
|
||||
The
|
||||
.Nm
|
||||
utility
|
||||
displays statistics about the amount of free disk space on the specified
|
||||
.Ar filesystem
|
||||
or on the filesystem of which
|
||||
|
@ -42,8 +42,9 @@
|
||||
.Nm
|
||||
.Op Ar ypdomain
|
||||
.Sh DESCRIPTION
|
||||
.Nm Domainname
|
||||
prints the name of the current YP/NIS domain. The super-user can
|
||||
The
|
||||
.Nm
|
||||
utility prints the name of the current YP/NIS domain. The super-user can
|
||||
set the domain name by supplying an argument; this is usually done in the
|
||||
network initialization script
|
||||
.Pa /etc/rc.network ,
|
||||
|
29
bin/ed/ed.1
29
bin/ed/ed.1
@ -15,8 +15,9 @@
|
||||
.\" .LP
|
||||
.\" red [-] [-sx] [-p \fIstring\fR] [\fIfile\fR]
|
||||
.Sh DESCRIPTION
|
||||
.Nm Ed
|
||||
is a line-oriented text editor.
|
||||
The
|
||||
.Nm
|
||||
utility is a line-oriented text editor.
|
||||
It is used to create, display, modify and otherwise manipulate text
|
||||
files.
|
||||
.\" .B red
|
||||
@ -147,8 +148,9 @@ only if it is not prefixed with a bang.
|
||||
.El
|
||||
.Sh LINE ADDRESSING
|
||||
An address represents the number of a line in the buffer.
|
||||
.Nm Ed
|
||||
maintains a
|
||||
The
|
||||
.Nm
|
||||
utility maintains a
|
||||
.Em current address
|
||||
which is
|
||||
typically supplied to commands as the default address when none is specified.
|
||||
@ -442,7 +444,9 @@ to print the last line affected by the command.
|
||||
An interrupt (typically ^C) has the effect of aborting the current command
|
||||
and returning the editor to command mode.
|
||||
.Pp
|
||||
.Nm Ed
|
||||
The
|
||||
.Nm
|
||||
utility
|
||||
recognizes the following commands. The commands are shown together with
|
||||
the default address or address range supplied if none is
|
||||
specified (in parenthesis).
|
||||
@ -578,8 +582,9 @@ Print the addressed lines unambiguously.
|
||||
If a single line fills for than one screen (as might be the case
|
||||
when viewing a binary file, for instance), a `--More--'
|
||||
prompt is printed on the last line.
|
||||
.Nm Ed
|
||||
waits until the RETURN key is pressed
|
||||
The
|
||||
.Nm
|
||||
utility waits until the RETURN key is pressed
|
||||
before displaying the next screen.
|
||||
The current address is set to the last line
|
||||
printed.
|
||||
@ -804,8 +809,9 @@ If the first character of
|
||||
is `!', then it is replaced by text of the
|
||||
previous
|
||||
.Ar !command .
|
||||
.Nm Ed
|
||||
does not process
|
||||
The
|
||||
.Nm
|
||||
utility does not process
|
||||
.Ar command
|
||||
for backslash (\\) escapes.
|
||||
However, an unescaped
|
||||
@ -845,8 +851,9 @@ USD:12-13
|
||||
.%D 1981
|
||||
.Re
|
||||
.Sh LIMITATIONS
|
||||
.Nm Ed
|
||||
processes
|
||||
The
|
||||
.Nm
|
||||
utility processes
|
||||
.Ar file
|
||||
arguments for backslash escapes, i.e., in a filename,
|
||||
any characters preceded by a backslash (\\) are
|
||||
|
@ -43,8 +43,9 @@
|
||||
.Op Fl s
|
||||
.Op Ar name-of-host
|
||||
.Sh DESCRIPTION
|
||||
.Nm Hostname
|
||||
prints the name of the current host. The super-user can
|
||||
The
|
||||
.Nm
|
||||
utility prints the name of the current host. The super-user can
|
||||
set the hostname by supplying an argument; this is usually done in the
|
||||
network initialization script
|
||||
.Pa /etc/rc.network ,
|
||||
|
@ -47,8 +47,9 @@
|
||||
.Op Fl m Ar mode
|
||||
.Ar directory_name ...
|
||||
.Sh DESCRIPTION
|
||||
.Nm Mkdir
|
||||
creates the directories named as operands, in the order specified,
|
||||
The
|
||||
.Nm
|
||||
utility creates the directories named as operands, in the order specified,
|
||||
using mode
|
||||
.Li rwxrwxrwx (\&0777)
|
||||
as modified by the current
|
||||
|
@ -54,7 +54,9 @@
|
||||
.Nm
|
||||
.Op Fl L
|
||||
.Sh DESCRIPTION
|
||||
.Nm Ps
|
||||
The
|
||||
.Nm
|
||||
utility
|
||||
displays a header line followed by lines containing information about your
|
||||
processes that have controlling terminals.
|
||||
This information is sorted by controlling terminal, then by process
|
||||
@ -347,7 +349,9 @@ When printing using the command keyword, a process that has exited and
|
||||
has a parent that has not yet waited for the process (in other words, a zombie)
|
||||
is listed as ``<defunct>'', and a process which is blocked while trying
|
||||
to exit is listed as ``<exiting>''.
|
||||
.Nm Ps
|
||||
The
|
||||
.Nm
|
||||
utility
|
||||
makes an educated guess as to the file name and arguments given when the
|
||||
process was created by examining memory or the swap area.
|
||||
The method is inherently somewhat unreliable and in any event a process
|
||||
|
@ -45,8 +45,9 @@
|
||||
.Nm
|
||||
.Op Fl L | P
|
||||
.Sh DESCRIPTION
|
||||
.Nm Pwd
|
||||
writes the absolute pathname of the current working directory to
|
||||
The
|
||||
.Nm
|
||||
utility writes the absolute pathname of the current working directory to
|
||||
the standard output.
|
||||
.Pp
|
||||
Some shells may provide a builtin
|
||||
|
@ -49,8 +49,9 @@
|
||||
.Ar
|
||||
.Ar directory
|
||||
.Sh DESCRIPTION
|
||||
.Nm Rcp
|
||||
copies files between machines. Each
|
||||
The
|
||||
.Nm
|
||||
utility copies files between machines. Each
|
||||
.Ar file
|
||||
or
|
||||
.Ar directory
|
||||
@ -113,14 +114,16 @@ A
|
||||
on a remote host may be quoted (using \e, ", or \(aa)
|
||||
so that the metacharacters are interpreted remotely.
|
||||
.Pp
|
||||
.Nm Rcp
|
||||
does not prompt for passwords; it performs remote execution
|
||||
The
|
||||
.Nm
|
||||
utility does not prompt for passwords; it performs remote execution
|
||||
via
|
||||
.Xr rsh 1 ,
|
||||
and requires the same authorization.
|
||||
.Pp
|
||||
.Nm Rcp
|
||||
handles third party copies, where neither source nor target files
|
||||
The
|
||||
.Nm
|
||||
utility handles third party copies, where neither source nor target files
|
||||
are on the current machine.
|
||||
.Sh FILES
|
||||
.Bl -tag -width /etc/auth.conf -compact
|
||||
|
@ -47,8 +47,9 @@
|
||||
.Op Fl n | Fl e
|
||||
.Ar args...
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
.Nm
|
||||
prints its arguments on the standard output, separated by spaces.
|
||||
utility prints its arguments on the standard output, separated by spaces.
|
||||
Unless the
|
||||
.Fl n
|
||||
option is present, a newline is output following the arguments.
|
||||
|
Loading…
Reference in New Issue
Block a user