diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2004-10-27 12:53:22 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2004-10-27 12:53:22 (GMT) |
commit | 4c2d0f20bfa9108949678cf49bfdc58eedc7bb93 (patch) | |
tree | b3ce80d2f183dc1bd02185c2bf44738b4377c9ed /doc/glob.n | |
parent | cd7e7ec95e76bcb5bf66d7cc9e6d60aad70dba07 (diff) | |
download | tcl-4c2d0f20bfa9108949678cf49bfdc58eedc7bb93.zip tcl-4c2d0f20bfa9108949678cf49bfdc58eedc7bb93.tar.gz tcl-4c2d0f20bfa9108949678cf49bfdc58eedc7bb93.tar.bz2 |
More minor doc fixes
Diffstat (limited to 'doc/glob.n')
-rw-r--r-- | doc/glob.n | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -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" |