util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] man pages: Fix misuse of two-fonts macros
@ 2019-12-14  0:14 Bjarni Ingi Gislason
  0 siblings, 0 replies; only message in thread
From: Bjarni Ingi Gislason @ 2019-12-14  0:14 UTC (permalink / raw)
  To: util-linux

  Two-fonts macros are made for two or more arguments.

  Remove space at end of lines in the files "term-utils/{script.1,
scriptlive.1, scriptreplay.1}".

  Put "\-\-summary" to the correct indent in the file
"term-utils/script.1"

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
---
 disk-utils/sfdisk.8        | 2 +-
 login-utils/lslogins.1     | 4 ++--
 login-utils/su.1           | 4 ++--
 sys-utils/adjtime_config.5 | 2 +-
 sys-utils/setpriv.1        | 2 +-
 sys-utils/unshare.1        | 2 +-
 term-utils/script.1        | 6 +++---
 term-utils/scriptlive.1    | 8 ++++----
 term-utils/scriptreplay.1  | 6 +++---
 9 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/disk-utils/sfdisk.8 b/disk-utils/sfdisk.8
index ff0739a32..8c1fe1622 100644
--- a/disk-utils/sfdisk.8
+++ b/disk-utils/sfdisk.8
@@ -236,7 +236,7 @@ and the last command reorders partitions to match disk order
 .RE
 
 .TP
-.BR \-\-move\-use\-fsync
+.B \-\-move\-use\-fsync
 Use fsync system call after each write when move dara to a new location by
 \fB\-\-move\-data\fR.
 .TP
diff --git a/login-utils/lslogins.1 b/login-utils/lslogins.1
index 1750fa3c0..04237939d 100644
--- a/login-utils/lslogins.1
+++ b/login-utils/lslogins.1
@@ -9,14 +9,14 @@ lslogins \- display information about known users in the system
 .RB [ \-s | \-u [ =\fIUID ]]
 .RB [ \-g " \fIgroups\fR]"
 .RB [ \-l " \fIlogins\fR]"
-.RB [\fIusername\fR]
+.RI [ username ]
 .SH DESCRIPTION
 .PP
 Examine the wtmp and btmp logs, /etc/shadow (if necessary) and /etc/passwd
 and output the desired data.
 
 The optional argument \fIusername\fR forces
-.BR lslogins
+.B lslogins
 to print all available details about the specified user only. In this case the
 output format is different than in case of \fB\-l\fR or \fB\-g\fR and unknown
 is \fIusername\fR reported as an error.
diff --git a/login-utils/su.1 b/login-utils/su.1
index 8bf41b0df..887ca3f27 100644
--- a/login-utils/su.1
+++ b/login-utils/su.1
@@ -9,13 +9,13 @@ su \- run a command with substitute user and group ID
 allows to run commands with a substitute user and group ID.
 .PP
 When called with no
-.IR user
+.I user
 specified,
 .B su
 defaults to running an interactive shell as
 .IR root .
 When
-.IR user
+.I user
 is specified, additional
 .IR argument s
 can be supplied, in which case they are passed to the shell.
diff --git a/sys-utils/adjtime_config.5 b/sys-utils/adjtime_config.5
index 239b90a87..b03aeddfe 100644
--- a/sys-utils/adjtime_config.5
+++ b/sys-utils/adjtime_config.5
@@ -55,7 +55,7 @@ to Coordinated Universal Time or local time.  You can always override this
 value with options on the hwclock command line.
 
 .SH FILES
-.IR /etc/adjtime
+.I /etc/adjtime
 .SH "SEE ALSO"
 .BR hwclock (8),
 .BR rtcwake (8)
diff --git a/sys-utils/setpriv.1 b/sys-utils/setpriv.1
index 9ff9058ec..09092efa7 100644
--- a/sys-utils/setpriv.1
+++ b/sys-utils/setpriv.1
@@ -165,7 +165,7 @@ to abort if AppArmor is not in use, and the transition may be ignored or cause
 .BR execve (2)
 to fail at AppArmor's whim.
 .TP
-.BI \-\-reset\-env
+.B \-\-reset\-env
 Clears all the environment variables except TERM; initializes the environment variables HOME, SHELL, USER, LOGNAME
 according to the user's passwd entry; sets PATH to \fI/usr/local/bin:/bin:/usr/bin\fR for a regual user and to
 \fI/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin\fR for root.
diff --git a/sys-utils/unshare.1 b/sys-utils/unshare.1
index 4f1239d7b..8e8d89006 100644
--- a/sys-utils/unshare.1
+++ b/sys-utils/unshare.1
@@ -138,7 +138,7 @@ by bind mount.
 Fork the specified \fIprogram\fR as a child process of \fBunshare\fR rather than
 running it directly.  This is useful when creating a new PID namespace.
 .TP
-.BR \-\-keep\-caps
+.B \-\-keep\-caps
 When the \fB--user\fP option is given, ensure that capabilities granted
 in the user namespace are preserved in the child process.
 .TP
diff --git a/term-utils/script.1 b/term-utils/script.1
index 5d46de504..815707e91 100644
--- a/term-utils/script.1
+++ b/term-utils/script.1
@@ -50,7 +50,7 @@ and to store additional information about the session.
 Since version 2.35
 .B script
 supports multiple streams and allows to log input and output to separate
-files or all the one file.  This version also supports new timing file 
+files or all the one file.  This version also supports new timing file
 which records additional information.  The command
 .B scriptreplay \-\-summary
 then provides all the information.
@@ -129,7 +129,7 @@ the log \fIfile\fR.
 Log input to the \fIfile\fR.  The log output is disabled if only \fB\-\-log\-in\fR
 specified.
 .sp
-Use this logging functionality carefully as it logs all input, including input 
+Use this logging functionality carefully as it logs all input, including input
 when terminal has disabled echo flag (for example password inputs).
 .TP
 \fB\-O\fR, \fB\-\-log\-out\fR \fIfile\fR
@@ -242,7 +242,7 @@ can read more input than you would expect.
 .PP
 .SH SIGNALS
 Upon receiving
-.BR SIGUSR1,
+.BR SIGUSR1 ,
 .B script
 immediately flushes the output files.
 .PP
diff --git a/term-utils/scriptlive.1 b/term-utils/scriptlive.1
index d41c319d5..5d597a8fc 100644
--- a/term-utils/scriptlive.1
+++ b/term-utils/scriptlive.1
@@ -5,9 +5,9 @@ scriptlive \- re-run session typescripts, using timing information
 .B scriptlive
 [options]
 .RB [ \-t ]
-.RI timingfile
+.I timingfile
 .RB [ \-I|\-B ]
-.RI typescript
+.I typescript
 .SH "DESCRIPTION"
 This program re-run a typescript, using stdin typescript and timing information to ensure that
 input happens in the same rhythm as it originally appeared when the script
@@ -27,9 +27,9 @@ The timing information is what
 outputs to file specified by
 .BR \-\-log\-timing .
 The typescript has to contain stdin information and it is what
-.BR script (1) 
+.BR script (1)
 outputs to file specified by
-.BR \-\-log-in
+.B \-\-log-in
 or
 .BR \-\-log\-io .
 
diff --git a/term-utils/scriptreplay.1 b/term-utils/scriptreplay.1
index 6d983bc73..626b5a1bf 100644
--- a/term-utils/scriptreplay.1
+++ b/term-utils/scriptreplay.1
@@ -35,7 +35,7 @@ but other filenames may be specified, as the second parameter or with option
 .BR \-\-log\-out .
 .PP
 If the third parameter or
-.BR \-\-divisor
+.B \-\-divisor
 is specified, it is used as a speed-up multiplier.
 For example, a speed-up of 2 makes
 .B scriptreplay
@@ -86,8 +86,8 @@ Set the maximum delay between transcript updates to
 of seconds.  The argument is a floating point number.  This can be used to
 avoid long pauses in the transcript replay.
 .TP
-.BR " \-\-summary "
-Display details about session recorded in the specified timing file and exit.  The session has 
+.B \-\-summary
+Display details about session recorded in the specified timing file and exit.  The session has
 to be recorded by
 .I advanced
 format (see
-- 
2.24.0

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-12-14  0:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-14  0:14 [PATCH] man pages: Fix misuse of two-fonts macros Bjarni Ingi Gislason

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).