-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to James Youngman on 3/8/2008 3:54 AM:
| 2008-03-08 James Youngman <[EMAIL PROTECTED]>
|
| * doc/find.texi (Full Name Patterns): Point out that "*" matches /
| and leading dots for -path. This fixes bug #20873.
|
| Signed-off-by: James Youngman <[EMAIL PROTECTED]>
| ---
| doc/find.texi | 11 ++++++++++-
| 1 files changed, 10 insertions(+), 1 deletions(-)
|
| diff --git a/doc/find.texi b/doc/find.texi
| index dd14f1e..3ca0cfb 100644
| --- a/doc/find.texi
| +++ b/doc/find.texi
| @@ -32,7 +32,7 @@ This file documents the GNU utilities for finding
files that match
| certain criteria and performing various operations on them.
|
| Copyright (C) 1994, 1996, 1998, 2000, 2001, 2003, 2004, 2005, 2006,
| -2007 Free Software Foundation, Inc.
| +2007, 2008 Free Software Foundation, Inc.
|
| Permission is granted to copy, distribute and/or modify this document
| under the terms of the GNU Free Documentation License, Version 1.2 or
| @@ -450,6 +450,15 @@ $ find /tmp/foo -path /tmp/foo/bar -print
| Notice that the second @code{find} command prints nothing, even though
| @file{/tmp/foo/bar} exists and was examined by @code{find}.
|
| +A @samp{*} in the pattern will even @samp{/} and even a leading dot in
| +a file name:
Missing word, plus it may be worth some context in comparison to normal
command line file expansion; how about:
Unlike file name expansion on the command line, a @samp{*} in the pattern
will match both @samp{/} and leading dots in file names:
| +
| [EMAIL PROTECTED]
| +$ find . -path '*f'
| +./quux/bar/baz/f
| +$ find . -path '*/*config'
| +./quux/bar/baz/.config
| [EMAIL PROTECTED] example
|
|
| @deffn Test -regex expr
- --
Don't work too hard, make some time for fun as well!
Eric Blake [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFH0zDI84KuGfSFAYARAnNqAKCPQUvFytRCunw5b0mLz7Au3x+2ogCgnpsa
VR+dyRN8eIobVCzAyCa5wTM=
=st2O
-----END PGP SIGNATURE-----
_______________________________________________
Findutils-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/findutils-patches