Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Sep 1998 13:27:59 -0800 (AKDT)
From:      groggy@iname.com
To:        freebsd-questions <questions@FreeBSD.ORG>
Subject:   tcl puts
Message-ID:  <Pine.BSF.3.96.980922131757.1725E-100000@abc.xyz.net>

next in thread | raw e-mail | index | archive | help

i don't really use tcl too much,
but i like to try out different languages.
one program i use quite a bit started to
get crazy with 2.2.7 / tcl 8.02.

i traced it down to the following line
containing the "set" command.

#!/usr/bin/tclsh

     set fubar [open /dev/stdin] # comment this line in and out ...
                                 # freaks out w/stdin, stdout, stderr.
     puts "aaa"
     puts "bbb"
     puts "ccc"
     close $fubar
     exit


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980922131757.1725E-100000>