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:
+
[EMAIL PROTECTED]
+$ find .  -path '*f'
+./quux/bar/baz/f
+$ find .  -path '*/*config'
+./quux/bar/baz/.config
[EMAIL PROTECTED] example
 
 
 @deffn Test -regex expr
-- 
1.5.3.8



_______________________________________________
Findutils-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/findutils-patches

Reply via email to