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
This commit is contained in:
asomers 2016-05-26 14:26:49 +00:00
parent 6c6e98f959
commit fb903ca1ee

View File

@ -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