docs/39532: 'find' man page should
Marc Silver
marcs at draenor.org
Mon Feb 2 20:00:44 UTC 2004
The following reply was made to PR docs/39532; it has been noted by GNATS.
From: Marc Silver <marcs at draenor.org>
To: freebsd-gnats-submit at FreeBSD.org, sspies at 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--
More information about the freebsd-doc
mailing list