From owner-freebsd-doc@FreeBSD.ORG Mon Feb 2 12:00:43 2004 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD08916A4CE for ; Mon, 2 Feb 2004 12:00:43 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0496E43D1D for ; Mon, 2 Feb 2004 12:00:42 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i12K0fFR032985 for ; Mon, 2 Feb 2004 12:00:41 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i12K0fkD032984; Mon, 2 Feb 2004 12:00:41 -0800 (PST) (envelope-from gnats) Date: Mon, 2 Feb 2004 12:00:41 -0800 (PST) Message-Id: <200402022000.i12K0fkD032984@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org From: Marc Silver Subject: Re: docs/39532: 'find' man page should X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Marc Silver List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2004 20:00:44 -0000 The following reply was made to PR docs/39532; it has been noted by GNATS. From: Marc Silver To: freebsd-gnats-submit@FreeBSD.org, sspies@apple.com Cc: Subject: Re: docs/39532: 'find' man page should Date: Mon, 2 Feb 2004 19:50:27 +0000 --qOrJKOH36bD5yhNe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi there, I've made some modifications to the patch supplied: 1) I personally feel the example should be something harmless. Users running the previous example may find themselves in a sticky situation if they ran the example in the wrong directory not fully understanding what it does. The example I've submitted is harmless. 2) An example in the current man page references "." as a starting point, while all the others use "/". I've changed the example to also use "/" as it seems more in line with the others. Cheers, Marc --qOrJKOH36bD5yhNe Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="find.1-patch" --- find.1-orig Mon Feb 2 21:26:36 2004 +++ find.1 Mon Feb 2 21:37:14 2004 @@ -727,9 +727,13 @@ .Dq wnj or that are newer than .Pa ttt . -.It Li "find . -newerct '1 minute ago' -print" +.It Li "find / -newerct '1 minute ago' -print" Print out a list of all the files whose inode change time is more recent than the current time minus one minute. +.It Li "find / -type f -exec echo {} \e\;" +Use the +.Xr echo 1 +command to print out a list of all the files. .El .Sh SEE ALSO .Xr chflags 1 , --qOrJKOH36bD5yhNe--