diff --git a/usr.sbin/extattr/rmextattr.8 b/usr.sbin/extattr/rmextattr.8 index 50755039c21..3b0988fd0ba 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