Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 May 2016 14:26:49 +0000 (UTC)
From:      Alan Somers <asomers@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r300747 - head/usr.sbin/extattr
Message-ID:  <201605261426.u4QEQn0a073715@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605261426.u4QEQn0a073715>