Overview
| Artifact ID: | f58d433301a3963d9e6042bb67277c41efed5233 |
|---|---|
| Ticket: | 3432962fffffffffffffffffffffffffffffffff
Some noninteractive invocations of tclsh still run .tclshrc |
| User & Date: | dgp on 2011-11-04 21:42:51 |
Changes
- icomment:
I was under the impression that this was a change introduced when I revised Tcl_Main() for Tcl 8.4 in 2002. A review of the history indicates otherwise. The reading of an "rc file" by Tcl appears to be introduced in the Tcl 7.0 release, and starting then and unchanged since, Tcl has been sourcing the rc file whenever it is in interactive mode -- reading cmds from stdin -- without regard to whether stdin is a tty.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"