From ae4dbdb24a3cc108db293d248016e2f73debaaad Mon Sep 17 00:00:00 2001
From: Guillem Jover <guillem@hadrons.org>
Date: Sun, 24 Dec 2023 20:15:33 +0100
Subject: [PATCH attr 3/7] man: Fix formatting markup for attr(1)

Origin: vendor
Forwarded: no
Signed-off-by: Guillem Jover <guillem@hadrons.org>
---
 man/man1/attr.1 | 54 ++++++++++++++++++++++++-------------------------
 1 file changed, 27 insertions(+), 27 deletions(-)

diff --git a/man/man1/attr.1 b/man/man1/attr.1
index ebbd2ef..afc8d6c 100644
--- a/man/man1/attr.1
+++ b/man/man1/attr.1
@@ -25,14 +25,14 @@
 attr \- extended attributes on XFS filesystem objects
 .SH SYNOPSIS
 .nf
-\f3attr\f1 [ \f3\-LRSq\f1 ] \f3\-s attrname\f1 [ \f3\-V attrvalue\f1 ] \c
-\f3pathname\f1
+\fBattr\fP [ \fB\-LRSq\fP ] \fB\-s\fP \fIattrname\fP [ \fB\-V\fP \fIattrvalue\fP ] \c
+\fIpathname\fP
 .sp .8v
-\f3attr\f1 [ \f3\-LRSq\f1 ] \f3\-g attrname pathname\f1
+\fBattr\fP [ \fB\-LRSq\fP ] \fB\-g\fP \fIattrname\fP \fIpathname\fP
 .sp .8v
-\f3attr\f1 [ \f3\-LRSq\f1 ] \f3\-r attrname pathname\f1
+\fBattr\fP [ \fB\-LRSq\fP ] \fB\-r\fP \fIattrname\fP \fIpathname\fP
 .sp .8v
-\f3attr\f1 [ \f3\-LRSq\f1 ] \f3\-l pathname\f1
+\fBattr\fP [ \fB\-LRSq\fP ] \fB\-l\fP \fIpathname\fP
 .sp .8v
 .fi
 .SH OVERVIEW
@@ -40,13 +40,13 @@ Extended attributes implement the ability for a user to attach
 name:value pairs to objects within the XFS filesystem.
 .PP
 This document describes the
-.I attr
+.B attr
 command, which is mostly compatible with the IRIX command of the same name.
 It is thus aimed specifically at users of the XFS filesystem - for
 filesystem independent extended attribute manipulation, consult the
-.IR getfattr (1)
-and 
-.IR setfattr (1)
+.BR getfattr (1)
+and
+.BR setfattr (1)
 documentation.
 .PP
 Extended attributes can be used to store meta-information about the file.
@@ -88,19 +88,19 @@ so the owner of the file can decide who is able to see and/or modify
 the value of attributes on any particular file.
 .SH DESCRIPTION
 The
-.I attr
+.B attr
 utility allows the manipulation of extended attributes associated with
 filesystem objects from within shell scripts.
 .PP
 There are four main operations that
-.I attr
+.B attr
 can perform:
 .TP
 .B GET
 The
-.B \-g attrname
+.BR \-g " \fIattrname\fP"
 option tells
-.I attr
+.B attr
 to search the named object and print (to \f4stdout\fP) the value
 associated with that attribute name.
 With the
@@ -112,7 +112,7 @@ suitable for storage directly into a file or processing via a piped command.
 The
 .B \-l
 option tells
-.I attr
+.B attr
 to list the names of all the attributes that are associated with the object,
 and the number of bytes in the value of each of those attributes.
 With the
@@ -122,27 +122,27 @@ one per line, suitable for input into a script.
 .TP
 .B REMOVE
 The
-.B \-r attrname
+.BR \-r " \fIattrname\fP"
 option tells
-.I attr
+.B attr
 to remove an attribute with the given name from the object if the
 attribute exists.
 There is no output on successful completion.
 .TP
 .B SET/CREATE
 The
-.B \-s attrname
+.BR \-s " \fIattrname\fP"
 option tells
-.I attr
+.B attr
 to set the named attribute of the object to the value read from \f4stdin\fP.
 If an attribute with that name already exists,
 its value will be replaced with this one.
 If an attribute with that name does not already exist,
 one will be created with this value.
 With the
-.B \-V attrvalue
+.BR \-V " \fIattrvalue\fP"
 flag, the attribute will be set to have a value of
-.B attrvalue
+.I attrvalue
 and \f4stdin\fP will not be read.
 With the
 .B \-q
@@ -162,7 +162,7 @@ When the
 .B \-R
 option is given and the process has appropriate privileges,
 operate in the
-.I root
+.B root
 attribute namespace rather that the
 .I USER
 attribute namespace.
@@ -170,28 +170,28 @@ attribute namespace.
 The
 .B \-S
 option is similar, except it specifies use of the
-.I security
+.B security
 attribute namespace.
 .PP
 When the
 .B \-q
 option is given
-.I attr
+.B attr
 will try to keep quiet.
 It will output error messages (to \f4stderr\fP)
 but will not print status messages (to \f4stdout\fP).
 .SH "NOTES"
 The standard file interchange/archive programs
-.IR tar (1),
+.BR tar (1),
 and
-.IR cpio (1)
+.BR cpio (1)
 will not archive or restore extended attributes,
 while the
-.IR xfsdump (8)
+.BR xfsdump (8)
 program will.
 .SH "CAVEATS"
 The list option present in the IRIX version of this command is not supported.
-.I getfattr
+.B getfattr
 provides a mechanism to retrieve all of the attribute names.
 .SH AUTHOR
 Andreas Gruenbacher,
-- 
2.47.2

