summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvincentdarley <vincentdarley>2004-05-11 14:09:56 (GMT)
committervincentdarley <vincentdarley>2004-05-11 14:09:56 (GMT)
commitda451923b186b964810bf7d022ec3d4a27685bbe (patch)
tree77858b60f2cda98fbd9888e879cd6323c7122376
parentea67b7c015f69452168105f73dde76533864abd8 (diff)
downloadtcl-da451923b186b964810bf7d022ec3d4a27685bbe.zip
tcl-da451923b186b964810bf7d022ec3d4a27685bbe.tar.gz
tcl-da451923b186b964810bf7d022ec3d4a27685bbe.tar.bz2
documentation for glob -types d with symbolic links
-rw-r--r--ChangeLog5
-rw-r--r--doc/glob.n5
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6a7fd3f..3fb1910 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-05-11 Vince Darley <vincentdarley@users.sourceforge.net>
+
+ * doc/glob.n: documented behaviour of symbolic links with
+ 'glob -types d' (Bug 951489)
+
2004-05-11 Donal K. Fellows <donal.k.fellows@man.ac.uk>
* doc/scan.n: Updated the examples to be clearer about their
diff --git a/doc/glob.n b/doc/glob.n
index 01b4a0f..5205568 100644
--- a/doc/glob.n
+++ b/doc/glob.n
@@ -5,7 +5,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: glob.n,v 1.15 2004/04/30 22:45:56 dkf Exp $
+'\" RCS: @(#) $Id: glob.n,v 1.16 2004/05/11 14:09:59 vincentdarley Exp $
'\"
.so man.macros
.TH glob n 8.3 Tcl "Tcl Built-In Commands"
@@ -75,6 +75,9 @@ the Unix find command:
\fIp\fR (named pipe),
or \fIs\fR (socket), where multiple types may be specified in the list.
\fBGlob\fR will return all files which match at least one of the types given.
+Note that symbolic links will be returned both if \fB\-types l\fR is given,
+or if the target of a link matches the requested type. So, a link to
+a directory will be returned if \fB\-types d\fR was specified.
.RS
.PP
The second form specifies types where all the types given must match.