summaryrefslogtreecommitdiffstats
path: root/doc/file.n
diff options
context:
space:
mode:
authorvincentdarley <vincentdarley@noemail.net>2001-09-04 18:06:33 (GMT)
committervincentdarley <vincentdarley@noemail.net>2001-09-04 18:06:33 (GMT)
commit3753395ac33ddd9bb7a098692cfcb2a4a3bc595c (patch)
treefe242e0e386c2472085adf41540fa813c334a000 /doc/file.n
parent1fad82cb66ef1b8a46bd45a3661a1f0e338fce96 (diff)
downloadtcl-3753395ac33ddd9bb7a098692cfcb2a4a3bc595c.zip
tcl-3753395ac33ddd9bb7a098692cfcb2a4a3bc595c.tar.gz
tcl-3753395ac33ddd9bb7a098692cfcb2a4a3bc595c.tar.bz2
minor fs, vfs fixes
FossilOrigin-Name: e50cc64ecbf8361559ffca6a1988f616b2674078
Diffstat (limited to 'doc/file.n')
-rw-r--r--doc/file.n9
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/file.n b/doc/file.n
index 681207f..df71bd5 100644
--- a/doc/file.n
+++ b/doc/file.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: file.n,v 1.7 2001/07/31 19:12:06 vincentdarley Exp $
+'\" RCS: @(#) $Id: file.n,v 1.8 2001/09/04 18:06:34 vincentdarley Exp $
'\"
.so man.macros
.TH file n 8.3 Tcl "Tcl Built-In Commands"
@@ -110,9 +110,12 @@ starts with a \fB\-\fR.
.
Removes the file or directory specified by each \fIpathname\fR argument.
Non-empty directories will be removed only if the \fB\-force\fR option is
-specified. Trying to delete a non-existant file is not considered an
+specified. Trying to delete a non-existent file is not considered an
error. Trying to delete a read-only file will cause the file to be deleted,
-even if the \fB\-force\fR flags is not specified. Arguments are processed
+even if the \fB\-force\fR flags is not specified. If the \fB\-force\fR
+option is specified on a directory, Tcl will attempt both to change
+permissions and move the current directory 'pwd' out of the given path
+if that is necessary to allow the deletion to proceed. Arguments are processed
in the order specified, halting at the first error, if any. A \fB\-\|\-\fR
marks the end of switches; the argument following the \fB\-\|\-\fR will be
treated as a \fIpathname\fR even if it starts with a \fB\-\fR.