Diff
Not logged in

Differences From Artifact [f2dcf14db0]:

To Artifact [6952134049]:


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
'\"
'\" Copyright (c) 1993 The Regents of the University of California.
'\" Copyright (c) 1994-1996 Sun Microsystems, Inc.
'\"
'\" 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.9 2001/11/02 12:06:27 vincentdarley Exp $
'\" 
.so man.macros
.TH file n 8.3 Tcl "Tcl Built-In Commands"
.BS
'\" Note:  do not modify the .SH NAME line immediately below!
.SH NAME
file \- Manipulate file names and attributes







|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
'\"
'\" Copyright (c) 1993 The Regents of the University of California.
'\" Copyright (c) 1994-1996 Sun Microsystems, Inc.
'\"
'\" 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.10 2001/11/10 02:34:57 hobbs Exp $
'\" 
.so man.macros
.TH file n 8.3 Tcl "Tcl Built-In Commands"
.BS
'\" Note:  do not modify the .SH NAME line immediately below!
.SH NAME
file \- Manipulate file names and attributes
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
under Windows or AppleScript on the Macintosh.
.TP
\fBfile normalize \fIname\fR
.
Returns a unique normalised path representation for the file, whose string
value can be used as a unique identifier for the it.  A normalized path is
one which has all '../', './' removed.  Also it is one which is in the
'standard' format for the native platform.  On MacOS, Unix, this means the
path must be free of symbolic links/aliases, and on Windows it means we want
the long form, with the long form's case-dependence (which gives us a
unique, case-dependent path).
.TP
\fBfile owned \fIname\fR 
.
Returns \fB1\fR if file \fIname\fR is owned by the current user, \fB0\fR







|







222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
under Windows or AppleScript on the Macintosh.
.TP
\fBfile normalize \fIname\fR
.
Returns a unique normalised path representation for the file, whose string
value can be used as a unique identifier for the it.  A normalized path is
one which has all '../', './' removed.  Also it is one which is in the
\'standard\' format for the native platform.  On MacOS, Unix, this means the
path must be free of symbolic links/aliases, and on Windows it means we want
the long form, with the long form's case-dependence (which gives us a
unique, case-dependent path).
.TP
\fBfile owned \fIname\fR 
.
Returns \fB1\fR if file \fIname\fR is owned by the current user, \fB0\fR