From da451923b186b964810bf7d022ec3d4a27685bbe Mon Sep 17 00:00:00 2001 From: vincentdarley Date: Tue, 11 May 2004 14:09:56 +0000 Subject: documentation for glob -types d with symbolic links --- ChangeLog | 5 +++++ doc/glob.n | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6a7fd3f..3fb1910 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-05-11 Vince Darley + + * doc/glob.n: documented behaviour of symbolic links with + 'glob -types d' (Bug 951489) + 2004-05-11 Donal K. Fellows * 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. -- cgit v0.12