Eliminate macro calls inside literal displays.
This commit is contained in:
parent
62890a391d
commit
6a5796e734
@ -107,18 +107,16 @@ characters (with the high bit set) are printed as
|
|||||||
.Ex -std
|
.Ex -std
|
||||||
.Sh EXAMPLES
|
.Sh EXAMPLES
|
||||||
The command:
|
The command:
|
||||||
.Bd -literal -offset indent
|
.Pp
|
||||||
.Ic cat file1
|
.Dl "cat file1"
|
||||||
.Ed
|
|
||||||
.Pp
|
.Pp
|
||||||
will print the contents of
|
will print the contents of
|
||||||
.Ar file1
|
.Ar file1
|
||||||
to the standard output.
|
to the standard output.
|
||||||
.Pp
|
.Pp
|
||||||
The command:
|
The command:
|
||||||
.Bd -literal -offset indent
|
.Pp
|
||||||
.Ic cat file1 file2 > file3
|
.Dl "cat file1 file2 > file3"
|
||||||
.Ed
|
|
||||||
.Pp
|
.Pp
|
||||||
will sequentially print the contents of
|
will sequentially print the contents of
|
||||||
.Ar file1
|
.Ar file1
|
||||||
@ -134,9 +132,8 @@ See the manual page for your shell (i.e.,
|
|||||||
for more information on redirection.
|
for more information on redirection.
|
||||||
.Pp
|
.Pp
|
||||||
The command:
|
The command:
|
||||||
.Bd -literal -offset indent
|
.Pp
|
||||||
.Ic cat file1 - file2 - file3
|
.Dl "cat file1 - file2 - file3"
|
||||||
.Ed
|
|
||||||
.Pp
|
.Pp
|
||||||
will print the contents of
|
will print the contents of
|
||||||
.Ar file1 ,
|
.Ar file1 ,
|
||||||
|
@ -68,8 +68,8 @@ following structure
|
|||||||
containing the broken-out
|
containing the broken-out
|
||||||
fields of a line in the network protocol data base,
|
fields of a line in the network protocol data base,
|
||||||
.Pa /etc/protocols .
|
.Pa /etc/protocols .
|
||||||
.Bd -literal -offset indent
|
|
||||||
.Pp
|
.Pp
|
||||||
|
.Bd -literal -offset indent
|
||||||
struct protoent {
|
struct protoent {
|
||||||
char *p_name; /* official name of protocol */
|
char *p_name; /* official name of protocol */
|
||||||
char **p_aliases; /* alias list */
|
char **p_aliases; /* alias list */
|
||||||
|
@ -213,8 +213,8 @@ struct cmsghdr {
|
|||||||
/* followed by
|
/* followed by
|
||||||
u_char cmsg_data[]; */
|
u_char cmsg_data[]; */
|
||||||
};
|
};
|
||||||
.Pp
|
|
||||||
.Ed
|
.Ed
|
||||||
|
.Pp
|
||||||
As an example, one could use this to learn of changes in the data-stream
|
As an example, one could use this to learn of changes in the data-stream
|
||||||
in XNS/SPP, or in ISO, to obtain user-connection-request data by requesting
|
in XNS/SPP, or in ISO, to obtain user-connection-request data by requesting
|
||||||
a
|
a
|
||||||
|
@ -56,10 +56,10 @@ For the commands that use the
|
|||||||
argument,
|
argument,
|
||||||
.Fa "union semun"
|
.Fa "union semun"
|
||||||
is defined as follows:
|
is defined as follows:
|
||||||
.Bd -literal
|
|
||||||
.\"
|
.\"
|
||||||
.\" From <sys/sem.h>:
|
.\" From <sys/sem.h>:
|
||||||
.\"
|
.\"
|
||||||
|
.Bd -literal
|
||||||
union semun {
|
union semun {
|
||||||
int val; /* value for SETVAL */
|
int val; /* value for SETVAL */
|
||||||
struct semid_ds *buf; /* buffer for IPC_STAT & IPC_SET */
|
struct semid_ds *buf; /* buffer for IPC_STAT & IPC_SET */
|
||||||
@ -139,10 +139,10 @@ in any process are cleared.
|
|||||||
The
|
The
|
||||||
.Vt "struct semid_ds"
|
.Vt "struct semid_ds"
|
||||||
is defined as follows:
|
is defined as follows:
|
||||||
.Bd -literal
|
|
||||||
.\"
|
.\"
|
||||||
.\" Taken straight from <sys/sem.h>.
|
.\" Taken straight from <sys/sem.h>.
|
||||||
.\"
|
.\"
|
||||||
|
.Bd -literal
|
||||||
struct semid_ds {
|
struct semid_ds {
|
||||||
struct ipc_perm sem_perm; /* operation permission struct */
|
struct ipc_perm sem_perm; /* operation permission struct */
|
||||||
struct sem *sem_base; /* pointer to first semaphore in set */
|
struct sem *sem_base; /* pointer to first semaphore in set */
|
||||||
|
@ -54,10 +54,10 @@ is indicated by
|
|||||||
Each operation is encoded in a
|
Each operation is encoded in a
|
||||||
.Vt "struct sembuf" ,
|
.Vt "struct sembuf" ,
|
||||||
which is defined as follows:
|
which is defined as follows:
|
||||||
.Bd -literal
|
|
||||||
.\"
|
.\"
|
||||||
.\" From <sys/sem.h>
|
.\" From <sys/sem.h>
|
||||||
.\"
|
.\"
|
||||||
|
.Bd -literal
|
||||||
struct sembuf {
|
struct sembuf {
|
||||||
u_short sem_num; /* semaphore # */
|
u_short sem_num; /* semaphore # */
|
||||||
short sem_op; /* semaphore operation */
|
short sem_op; /* semaphore operation */
|
||||||
|
@ -228,9 +228,9 @@ to machine 10.0.0.8.
|
|||||||
If several address aliases specify the same public address
|
If several address aliases specify the same public address
|
||||||
as follows
|
as follows
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
.Ar redirect_address 192.168.0.2 public_addr
|
redirect_address 192.168.0.2 public_addr
|
||||||
.Ar redirect_address 192.168.0.3 public_addr
|
redirect_address 192.168.0.3 public_addr
|
||||||
.Ar redirect_address 192.168.0.4 public_addr
|
redirect_address 192.168.0.4 public_addr
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
the incoming traffic will be directed to the last
|
the incoming traffic will be directed to the last
|
||||||
|
@ -311,8 +311,8 @@ union vm_map_object {
|
|||||||
struct vm_object *vm_object;
|
struct vm_object *vm_object;
|
||||||
struct vm_map *sub_map;
|
struct vm_map *sub_map;
|
||||||
};
|
};
|
||||||
.Pp
|
|
||||||
.Ed
|
.Ed
|
||||||
|
.Pp
|
||||||
Normally, the
|
Normally, the
|
||||||
.Va sub_map
|
.Va sub_map
|
||||||
member is only used by system maps to indicate that a memory range
|
member is only used by system maps to indicate that a memory range
|
||||||
|
@ -83,7 +83,6 @@ cmd \-aoarg file file
|
|||||||
cmd \-a \-o arg file file
|
cmd \-a \-o arg file file
|
||||||
cmd \-oarg -a file file
|
cmd \-oarg -a file file
|
||||||
cmd \-a \-oarg \-\- file file
|
cmd \-a \-oarg \-\- file file
|
||||||
.Pp
|
|
||||||
.Ed
|
.Ed
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr getopts 1 ,
|
.Xr getopts 1 ,
|
||||||
|
@ -133,19 +133,16 @@ and then in
|
|||||||
.Pa /var/db/locate.database
|
.Pa /var/db/locate.database
|
||||||
and then in
|
and then in
|
||||||
.Pa /cdrom/locate.database .
|
.Pa /cdrom/locate.database .
|
||||||
.Bd -literal
|
.Pp
|
||||||
$ locate -d db1 -d db2 -d db3 pattern
|
.Dl "$ locate -d db1 -d db2 -d db3 pattern"
|
||||||
.Ed
|
|
||||||
.Pp
|
.Pp
|
||||||
is the same as
|
is the same as
|
||||||
.Bd -literal
|
.Pp
|
||||||
$ locate -d db1:db2:db3 pattern
|
.Dl "$ locate -d db1:db2:db3 pattern"
|
||||||
.Ed
|
|
||||||
.Pp
|
.Pp
|
||||||
or
|
or
|
||||||
.Bd -literal
|
.Pp
|
||||||
.Dq $ locate -d db1:db2 -d db3 pattern .
|
.Dl "$ locate -d db1:db2 -d db3 pattern"
|
||||||
.Ed
|
|
||||||
.Pp
|
.Pp
|
||||||
If
|
If
|
||||||
.Ar -
|
.Ar -
|
||||||
|
@ -64,7 +64,7 @@ Default timeout is 4 seconds.
|
|||||||
.El
|
.El
|
||||||
.Sh SAMPLE OUTPUT
|
.Sh SAMPLE OUTPUT
|
||||||
.Bd -literal
|
.Bd -literal
|
||||||
.Nm mrinfo Ar mbone.phony.dom.net
|
$ mrinfo mbone.phony.dom.net
|
||||||
127.148.176.10 (mbone.phony.dom.net) [version 3.3]:
|
127.148.176.10 (mbone.phony.dom.net) [version 3.3]:
|
||||||
127.148.176.10 -> 0.0.0.0 (?) [1/1/querier]
|
127.148.176.10 -> 0.0.0.0 (?) [1/1/querier]
|
||||||
127.148.176.10 -> 127.0.8.4 (mbone2.phony.dom.net) [1/45/tunnel]
|
127.148.176.10 -> 127.0.8.4 (mbone2.phony.dom.net) [1/45/tunnel]
|
||||||
|
@ -122,51 +122,32 @@ In all other cases,
|
|||||||
exits 0 on success, and 1 for all other errors.
|
exits 0 on success, and 1 for all other errors.
|
||||||
.Sh EXAMPLES
|
.Sh EXAMPLES
|
||||||
To see which realtime priority the current process is at:
|
To see which realtime priority the current process is at:
|
||||||
.Bd -literal -offset indent -compact
|
.Dl rtprio
|
||||||
.Sy "rtprio"
|
|
||||||
.Ed
|
|
||||||
.Pp
|
.Pp
|
||||||
To see which realtime priority of process
|
To see which realtime priority of process 1423:
|
||||||
.Em 1423 :
|
.Dl "rtprio 1423"
|
||||||
.Bd -literal -offset indent -compact
|
|
||||||
.Sy "rtprio 1423"
|
|
||||||
.Ed
|
|
||||||
.Pp
|
.Pp
|
||||||
To run
|
To run
|
||||||
.Xr cron 8
|
.Xr cron 8
|
||||||
at the lowest realtime priority:
|
at the lowest realtime priority:
|
||||||
.Bd -literal -offset indent -compact
|
.Dl "rtprio 31 cron"
|
||||||
.Sy "rtprio 31 cron"
|
|
||||||
.Ed
|
|
||||||
.Pp
|
.Pp
|
||||||
To change the realtime priority of process
|
To change the realtime priority of process 1423 to 16:
|
||||||
.Em 1423
|
.Dl "rtprio 16 -1423"
|
||||||
to
|
|
||||||
.Em 16 :
|
|
||||||
.Bd -literal -offset indent -compact
|
|
||||||
.Sy "rtprio 16 -1423"
|
|
||||||
.Ed
|
|
||||||
.Pp
|
.Pp
|
||||||
To run
|
To run
|
||||||
.Xr tcpdump 1
|
.Xr tcpdump 1
|
||||||
without realtime priority:
|
without realtime priority:
|
||||||
.Bd -literal -offset indent -compact
|
.Dl "rtprio -t tcpdump"
|
||||||
.Sy "rtprio -t tcpdump"
|
|
||||||
.Ed
|
|
||||||
.Pp
|
.Pp
|
||||||
To change the realtime priority of process
|
To change the realtime priority of process 1423
|
||||||
.Em 1423
|
|
||||||
to
|
to
|
||||||
.Dv RTP_PRIO_NORMAL
|
.Dv RTP_PRIO_NORMAL
|
||||||
(non-realtime/normal priority):
|
(non-realtime/normal priority):
|
||||||
.Bd -literal -offset indent -compact
|
.Dl "rtprio -t -1423"
|
||||||
.Sy "rtprio -t -1423"
|
|
||||||
.Ed
|
|
||||||
.Pp
|
.Pp
|
||||||
To make depend while not disturbing other machine usage:
|
To make depend while not disturbing other machine usage:
|
||||||
.Bd -literal -offset indent -compact
|
.Dl "idprio 31 make depend"
|
||||||
.Sy "idprio 31 make depend"
|
|
||||||
.Ed
|
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr nice 1 ,
|
.Xr nice 1 ,
|
||||||
.Xr ps 1 ,
|
.Xr ps 1 ,
|
||||||
|
@ -62,9 +62,9 @@ as local time.
|
|||||||
The
|
The
|
||||||
.Nm
|
.Nm
|
||||||
utility will act as if the input contained a link line of the form
|
utility will act as if the input contained a link line of the form
|
||||||
.Bd -literal -offset indent
|
.Pp
|
||||||
.No "Link timezone localtime
|
.D1 No "Link timezone localtime"
|
||||||
.Ed
|
.Pp
|
||||||
(Note that this action has no effect on
|
(Note that this action has no effect on
|
||||||
.Fx ,
|
.Fx ,
|
||||||
since the local time zone is specified in
|
since the local time zone is specified in
|
||||||
@ -85,9 +85,8 @@ time zone environment variables.
|
|||||||
The
|
The
|
||||||
.Nm
|
.Nm
|
||||||
utility will act as if the input contained a link line of the form
|
utility will act as if the input contained a link line of the form
|
||||||
.Bd -literal -offset indent
|
.Pp
|
||||||
.No "Link timezone posixrules
|
.D1 No "Link timezone posixrules"
|
||||||
.Ed
|
|
||||||
.It Fl u Ar user
|
.It Fl u Ar user
|
||||||
After creating each output file, change its owner to
|
After creating each output file, change its owner to
|
||||||
.Ar user
|
.Ar user
|
||||||
|
Loading…
Reference in New Issue
Block a user