summaryrefslogtreecommitdiffstats
path: root/doc/glob.n
diff options
context:
space:
mode:
authorvincentdarley <vincentdarley>2003-12-12 17:02:13 (GMT)
committervincentdarley <vincentdarley>2003-12-12 17:02:13 (GMT)
commit40b6f0c8bf1edab6618ea5c61cea14cf3a5c5443 (patch)
tree8d8e536a5def41a544a5006aac189da2a81c2dcb /doc/glob.n
parentbcae87dcfb91b941c363621ebfe6e5bd33a33fee (diff)
downloadtcl-40b6f0c8bf1edab6618ea5c61cea14cf3a5c5443.zip
tcl-40b6f0c8bf1edab6618ea5c61cea14cf3a5c5443.tar.gz
tcl-40b6f0c8bf1edab6618ea5c61cea14cf3a5c5443.tar.bz2
improved filesystem documentation
Diffstat (limited to 'doc/glob.n')
-rw-r--r--doc/glob.n9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/glob.n b/doc/glob.n
index 15ae60c..e4df23d 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.12 2002/07/01 18:24:39 jenglish Exp $
+'\" RCS: @(#) $Id: glob.n,v 1.13 2003/12/12 17:02:13 vincentdarley Exp $
'\"
.so man.macros
.TH glob n 8.3 Tcl "Tcl Built-In Commands"
@@ -149,6 +149,13 @@ command if you want the list sorted).
Second, \fBglob\fR only returns the names of files that actually
exist; in csh no check for existence is made unless a pattern
contains a ?, *, or [] construct.
+.LP
+When the \fBglob\fR command returns relative paths whose filenames
+start with a tilde ``~'' (for example through \fBglob *\fR or
+\fBglob -tails\fR, the returned list will not quote the tilde with
+``./''. This means care must be taken if those names are later to
+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