summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorvincentdarley <vincentdarley>2005-06-09 16:24:42 (GMT)
committervincentdarley <vincentdarley>2005-06-09 16:24:42 (GMT)
commit7265e63b582f1b5437c6819f29c4a72531aa3d6a (patch)
tree24b3c804b6d6234507385245a05ad20d5d75fb03 /doc
parent4afb8f350cf1359f2e21518ab8b6dd3694540fa5 (diff)
downloadtcl-7265e63b582f1b5437c6819f29c4a72531aa3d6a.zip
tcl-7265e63b582f1b5437c6819f29c4a72531aa3d6a.tar.gz
tcl-7265e63b582f1b5437c6819f29c4a72531aa3d6a.tar.bz2
fix to race condition in file mkdir and fix to glob documentation
Diffstat (limited to 'doc')
-rw-r--r--doc/glob.n11
1 files changed, 4 insertions, 7 deletions
diff --git a/doc/glob.n b/doc/glob.n
index d4bc40b..3ddd18b 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.17 2004/10/27 12:53:22 dkf Exp $
+'\" RCS: @(#) $Id: glob.n,v 1.18 2005/06/09 16:24:47 vincentdarley Exp $
'\"
.so man.macros
.TH glob n 8.3 Tcl "Tcl Built-In Commands"
@@ -21,7 +21,9 @@ glob \- Return names of files that match patterns
.PP
This command performs file name ``globbing'' in a fashion similar to
the csh shell. It returns a list of the files whose names match any
-of the \fIpattern\fR arguments.
+of the \fIpattern\fR arguments. No particular order is guaranteed
+in the list, so if a sorted list is required the caller should use
+\fBlsort\fR.
.LP
If the initial arguments to \fBglob\fR start with \fB\-\fR then
they are treated as switches. The following switches are
@@ -157,11 +159,6 @@ be used with \fBfile join\fR, to avoid them being interpreted as
absolute paths pointing to a given user's home directory.
.SH "PORTABILITY ISSUES"
.PP
-Unlike other Tcl commands that will accept both network and native
-style names (see the \fBfilename\fR manual entry for details on how
-native and network names are specified), the \fBglob\fR command only
-accepts native names.
-.TP
\fBWindows\fR
.
For Windows UNC names, the servername and sharename components of the path