From owner-svn-src-stable-6@FreeBSD.ORG Sat Dec 6 14:33:25 2008 Return-Path: Delivered-To: svn-src-stable-6@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A8A3D1065672; Sat, 6 Dec 2008 14:33:25 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 963E08FC0C; Sat, 6 Dec 2008 14:33:25 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id mB6EXP18097044; Sat, 6 Dec 2008 14:33:25 GMT (envelope-from keramida@svn.freebsd.org) Received: (from keramida@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id mB6EXPCF097043; Sat, 6 Dec 2008 14:33:25 GMT (envelope-from keramida@svn.freebsd.org) Message-Id: <200812061433.mB6EXPCF097043@svn.freebsd.org> From: Giorgos Keramidas Date: Sat, 6 Dec 2008 14:33:25 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-6@freebsd.org X-SVN-Group: stable-6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r185708 - stable/6/usr.bin/xargs X-BeenThere: svn-src-stable-6@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 6-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Dec 2008 14:33:25 -0000 Author: keramida (doc committer) Date: Sat Dec 6 14:33:25 2008 New Revision: 185708 URL: http://svn.freebsd.org/changeset/base/185708 Log: MFC: r175680, r175728. Document the no-op -r option of BSD xargs(1). PR: docs/106416 Submitted by: Pete Slagle, freebsd-stable at voidcaptain.com Modified: stable/6/usr.bin/xargs/ (props changed) stable/6/usr.bin/xargs/xargs.1 Modified: stable/6/usr.bin/xargs/xargs.1 ============================================================================== --- stable/6/usr.bin/xargs/xargs.1 Sat Dec 6 14:23:45 2008 (r185707) +++ stable/6/usr.bin/xargs/xargs.1 Sat Dec 6 14:33:25 2008 (r185708) @@ -37,7 +37,7 @@ .\" $FreeBSD$ .\" $xMach: xargs.1,v 1.2 2002/02/23 05:23:37 tim Exp $ .\" -.Dd August 2, 2004 +.Dd January 26, 2008 .Dt XARGS 1 .Os .Sh NAME @@ -45,7 +45,7 @@ .Nd "construct argument list(s) and execute utility" .Sh SYNOPSIS .Nm -.Op Fl 0opt +.Op Fl 0oprt .Op Fl E Ar eofstr .Oo .Fl I Ar replstr @@ -213,6 +213,34 @@ in the POSIX locale, causes the command to be executed, any other response causes it to be skipped. No commands are executed if the process is not attached to a terminal. +.It Fl r +Compatibility with GNU +.Nm . +The GNU version of +.Nm +runs the +.Ar utility +argument at least once, even if +.Nm +input is empty, and it supports a +.Fl r +option to inhibit this behavior. +The +.Fx +version of +.Nm +does not run the +.Ar utility +argument on empty input, but it supports the +.Fl r +option for command-line compatibility with GNU +.Nm , +but the +.Fl r +option does nothing in the +.Fx +version of +.Nm . .It Fl R Ar replacements Specify the maximum number of arguments that .Fl I