Date: Mon, 2 Feb 2004 12:00:41 -0800 (PST) From: Marc Silver <marcs@draenor.org> To: freebsd-doc@FreeBSD.org Subject: Re: docs/39532: 'find' man page should Message-ID: <200402022000.i12K0fkD032984@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR docs/39532; it has been noted by GNATS. From: Marc Silver <marcs@draenor.org> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402022000.i12K0fkD032984>