Util-Linux Archive on lore.kernel.org
 help / color / 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

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
-.BR \-\-move\-use\-fsync
+.B \-\-move\-use\-fsync
 Use fsync system call after each write when move dara to a new location by
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 ]
 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.
 When called with no
-.IR user
+.I user
 .B su
 defaults to running an interactive shell as
 .IR root .
-.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.
-.IR /etc/adjtime
+.I /etc/adjtime
 .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.
-.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.
-.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.
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
-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).
 \fB\-O\fR, \fB\-\-log\-out\fR \fIfile\fR
@@ -242,7 +242,7 @@ can read more input than you would expect.
 Upon receiving
 .B script
 immediately flushes the output files.
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
 .RB [ \-t ]
-.RI timingfile
+.I timingfile
 .RB [ \-I|\-B ]
-.RI typescript
+.I typescript
 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
 .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 .
 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.
-.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

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

only message in thread, back to index

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

Util-Linux Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/util-linux/0 util-linux/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 util-linux util-linux/ https://lore.kernel.org/util-linux \
	public-inbox-index util-linux

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git