svn commit: r300747 - head/usr.sbin/extattr

Alan Somers asomers at FreeBSD.org
Thu May 26 14:26:50 UTC 2016


Author: asomers
Date: Thu May 26 14:26:49 2016
New Revision: 300747
URL: https://svnweb.freebsd.org/changeset/base/300747

Log:
  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

Modified:
  head/usr.sbin/extattr/rmextattr.8

Modified: head/usr.sbin/extattr/rmextattr.8
==============================================================================
--- head/usr.sbin/extattr/rmextattr.8	Thu May 26 14:21:02 2016	(r300746)
+++ head/usr.sbin/extattr/rmextattr.8	Thu May 26 14:26:49 2016	(r300747)
@@ -108,7 +108,7 @@ Read attribute data from stdin instead o
 .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


More information about the svn-src-all mailing list