summaryrefslogtreecommitdiffstats
path: root/doc/glob.n
diff options
context:
space:
mode:
Diffstat (limited to 'doc/glob.n')
-rw-r--r--doc/glob.n16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/glob.n b/doc/glob.n
index 5205568..d4bc40b 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.16 2004/05/11 14:09:59 vincentdarley Exp $
+'\" RCS: @(#) $Id: glob.n,v 1.17 2004/10/27 12:53:22 dkf Exp $
'\"
.so man.macros
.TH glob n 8.3 Tcl "Tcl Built-In Commands"
@@ -185,23 +185,23 @@ join $path\fR (or \fBfile normalize $path\fR in Tcl 8.4).
.SH EXAMPLES
Find all the Tcl files in the current directory:
.CS
-glob *.tcl
+\fBglob\fR *.tcl
.CE
-
+.PP
Find all the Tcl files in the user's home directory, irrespective of
what the current directory is:
.CS
-glob \-directory ~ *.tcl
+\fBglob\fR \-directory ~ *.tcl
.CE
-
+.PP
Find all subdirectories of the current directory:
.CS
-glob \-type d *
+\fBglob\fR \-type d *
.CE
-
+.PP
Find all files whose name contains an "a", a "b" or the sequence "cde":
.CS
-glob \-type f *{a,b,cde}*
+\fBglob\fR \-type f *{a,b,cde}*
.CE
.SH "SEE ALSO"