summaryrefslogtreecommitdiffstats
path: root/doc/file.n
diff options
context:
space:
mode:
authorhobbs <hobbs>1999-08-19 02:58:34 (GMT)
committerhobbs <hobbs>1999-08-19 02:58:34 (GMT)
commit5e5c7d8418d3fbd50e237bc02c7c8d65618f5235 (patch)
tree49bf18aa83c6c1205456d77a135d092f673458c0 /doc/file.n
parent7070ed9f344d7a29c2c774b776937744b0da7a3e (diff)
downloadtcl-5e5c7d8418d3fbd50e237bc02c7c8d65618f5235.zip
tcl-5e5c7d8418d3fbd50e237bc02c7c8d65618f5235.tar.gz
tcl-5e5c7d8418d3fbd50e237bc02c7c8d65618f5235.tar.bz2
1999-08-18 Jeff Hobbs <hobbs@scriptics.com>
* doc/Eval.3: fixed doc on input args [Bug: 2114] * doc/OpenFileChnl.3: * doc/file.n: * tests/cmdAH.test: * tclIO.c: * tclCmdAH.c: added "file channels ?pattern?" tcl command, with associated Tcl_GetChannelNames and Tcl_GetChannelNamesEx public C APIs (added to tcl.decls as well), with docs and tests.
Diffstat (limited to 'doc/file.n')
-rw-r--r--doc/file.n17
1 files changed, 11 insertions, 6 deletions
diff --git a/doc/file.n b/doc/file.n
index 79644e9..11e599b 100644
--- a/doc/file.n
+++ b/doc/file.n
@@ -5,10 +5,10 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: file.n,v 1.2 1998/09/14 18:39:52 stanton Exp $
+'\" RCS: @(#) $Id: file.n,v 1.3 1999/08/19 02:58:34 hobbs Exp $
'\"
.so man.macros
-.TH file n 7.6 Tcl "Tcl Built-In Commands"
+.TH file n 8.3 Tcl "Tcl Built-In Commands"
.BS
'\" Note: do not modify the .SH NAME line immediately below!
.SH NAME
@@ -33,7 +33,6 @@ was last accessed. The time is measured in the standard POSIX
fashion as seconds from a fixed starting time (often January 1, 1970).
If the file doesn't exist or its access time cannot be queried then an
error is generated.
-.VS
.TP
\fBfile attributes \fIname\fR
.br
@@ -72,8 +71,16 @@ attribute of the file. Note that directories can only be locked if
File Sharing is turned on. \fB-type\fR gives or sets the Finder file
type for the file.
.RE
+.VS
+.TP
+\fBfile channels ?\fIpattern\fR?
+.
+If \fIpattern\fR isn't specified, returns a list of names of all
+registered open channels in this interpreter. If \fIpattern\fR is
+specified, only those names matching \fIpattern\fR are returned. Matching
+is determined using the same rules as for \fBstring match\fR.
.VE
-.PP
+.TP
\fBfile copy \fR?\fB\-force\fR? ?\fB\-\|\-\fR? \fIsource\fR \fItarget\fR
.br
\fBfile copy \fR?\fB\-force\fR? ?\fB\-\|\-\fR? \fIsource\fR ?\fIsource\fR ...? \fItargetDir\fR
@@ -195,14 +202,12 @@ last modified. The time is measured in the standard POSIX fashion as
seconds from a fixed starting time (often January 1, 1970). If the file
doesn't exist or its modified time cannot be queried then an error is
generated.
-.VS
.TP
\fBfile nativename \fIname\fR
.
Returns the platform-specific name of the file. This is useful if the
filename is needed to pass to a platform-specific call, such as exec
under Windows or AppleScript on the Macintosh.
-.VE
.TP
\fBfile owned \fIname\fR
.