Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

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

  1. 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.
    
    
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"