summaryrefslogtreecommitdiffstats
path: root/usr.sbin/extattr
diff options
context:
space:
mode:
authorasomers <asomers@FreeBSD.org>2016-05-26 14:26:49 +0000
committerasomers <asomers@FreeBSD.org>2016-05-26 14:26:49 +0000
commitfb903ca1eecc044c80ea451ff32e2b7fa4917057 (patch)
treed270a0150219c76b82333f111292a53d4b81bd32 /usr.sbin/extattr
parent6c6e98f95951eebd668081d4b85183485b51c7f2 (diff)
downloadFreeBSD-src-fb903ca1eecc044c80ea451ff32e2b7fa4917057.zip
FreeBSD-src-fb903ca1eecc044c80ea451ff32e2b7fa4917057.tar.gz
rmextattr(8) man page clarifications regarding -qq
Reviewed by: ngie MFC after: 6 days X-MFC-With: 299085 Sponsored by: Spectra Logic Corp Differential Revision: https://reviews.freebsd.org/D6422
Diffstat (limited to 'usr.sbin/extattr')
-rw-r--r--usr.sbin/extattr/rmextattr.83
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/extattr/rmextattr.8 b/usr.sbin/extattr/rmextattr.8
index 5075503..3b0988f 100644
--- a/usr.sbin/extattr/rmextattr.8
+++ b/usr.sbin/extattr/rmextattr.8
@@ -108,7 +108,7 @@ Read attribute data from stdin instead of as an argument.
.It Fl q
(Quiet.)
Do not print out the pathname and suppress error messages.
-When given twice, do not print a trailing newline.
+When given twice, print only the attribute value, with no trailing newline.
.It Fl s
(Stringify.)
Escape nonprinting characters and put quotes around the output.
@@ -121,6 +121,7 @@ Print the output in hexadecimal.
setextattr system md5 `md5 -q /boot/kernel/kernel` /boot/kernel/kernel
md5 -q /boot/kernel/kernel | setextattr -i system md5 /boot/kernel/kernel
getextattr system md5 /boot/kernel/kernel
+getextattr -qq system md5 /boot/kernel/kernel | od -x
lsextattr system /boot/kernel/kernel
rmextattr system md5 /boot/kernel/kernel
.Ed
OpenPOWER on IntegriCloud