summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorashok <ashok>2016-07-07 06:30:58 (GMT)
committerashok <ashok>2016-07-07 06:30:58 (GMT)
commit0aa3b5113db3c6c750aa4bbcfdb657dec48c0de1 (patch)
tree6c02f8a6a858f357847f980c4f81293d9de187fb /doc
parent5afe70d02240e1acbe825478808f3ef27847c025 (diff)
downloadtcl-0aa3b5113db3c6c750aa4bbcfdb657dec48c0de1.zip
tcl-0aa3b5113db3c6c750aa4bbcfdb657dec48c0de1.tar.gz
tcl-0aa3b5113db3c6c750aa4bbcfdb657dec48c0de1.tar.bz2
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 8e765da..eeb67ed 100644
--- a/doc/file.n
+++ b/doc/file.n
@@ -162,7 +162,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
.