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:
Alan Somers 2016-05-26 14:26:49 +00:00
parent 54fc4636f3
commit 2b8f2ab90d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=300747

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