From owner-svn-src-all@freebsd.org Thu May 26 14:26:50 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C7560B4BE29; Thu, 26 May 2016 14:26:50 +0000 (UTC) (envelope-from asomers@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 982D41186; Thu, 26 May 2016 14:26:50 +0000 (UTC) (envelope-from asomers@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u4QEQnqv073716; Thu, 26 May 2016 14:26:49 GMT (envelope-from asomers@FreeBSD.org) Received: (from asomers@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u4QEQn0a073715; Thu, 26 May 2016 14:26:49 GMT (envelope-from asomers@FreeBSD.org) Message-Id: <201605261426.u4QEQn0a073715@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: asomers set sender to asomers@FreeBSD.org using -f From: Alan Somers Date: Thu, 26 May 2016 14:26:49 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r300747 - head/usr.sbin/extattr X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 May 2016 14:26:50 -0000 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