From a128b4d651075c9263df3e8959beaac5a403e54d Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Sat, 18 Dec 2021 15:03:29 +0000 Subject: Fix [5507a9c096]: Small error on https://www.tcl.tk/man/tcl/TclCmd/try.html --- doc/try.n | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/try.n b/doc/try.n index eae4dc7..992dcea 100644 --- a/doc/try.n +++ b/doc/try.n @@ -87,7 +87,7 @@ Handle different reasons for a file to not be openable for reading: .PP .CS \fBtry\fR { - set f [open /some/file/name w] + set f [open /some/file/name r] } \fBtrap\fR {POSIX EISDIR} {} { puts "failed to open /some/file/name: it's a directory" } \fBtrap\fR {POSIX ENOENT} {} { -- cgit v0.12