summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-07-08 12:38:35 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-07-08 12:38:35 (GMT)
commite38fcbe3038ced105ad9ac3d9650730c23cff10f (patch)
treee32872c2f8c2b84ab90793ad0d03693d1fb32217 /doc
parenta37fec9dcb7496c2f8b7e1a19b4fa1c7f260d312 (diff)
downloadtcl-e38fcbe3038ced105ad9ac3d9650730c23cff10f.zip
tcl-e38fcbe3038ced105ad9ac3d9650730c23cff10f.tar.gz
tcl-e38fcbe3038ced105ad9ac3d9650730c23cff10f.tar.bz2
(cherry-pick): Bugfix [5d7ea04580]. Treat .cmd and .ps1 files are executable on Windows.
Diffstat (limited to 'doc')
-rw-r--r--doc/file.n4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/file.n b/doc/file.n
index 36eae79..43eae7a 100644
--- a/doc/file.n
+++ b/doc/file.n
@@ -156,7 +156,9 @@ returns \fB/home\fR (or something similar).
\fBfile executable \fIname\fR
.
Returns \fB1\fR if file \fIname\fR is executable by the current user,
-\fB0\fR otherwise.
+\fB0\fR otherwise. On Windows, which does not have an executable attribute,
+the command treats all directories and any files with extensions
+\fBexe\fR, \fBcom\fR, \fBcmd\fR, \fBbat\fR or \fBps1\fR as executable.
.TP
\fBfile exists \fIname\fR
.