Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-17
04:29 • Closed ticket [218018ffff]: wish command line handling plus 3 other changes artifact: 79fe9c2cc9 user: dgp
04:25 • Open ticket [218018ffff]. artifact: 0b379b8474 user: dgp
04:24 • Open ticket [218018ffff]. artifact: e81d200a89 user: dgp
04:24 • Open ticket [218018ffff]. artifact: b3dc994478 user: dgp
2000-10-26
08:12 • Closed ticket [218018ffff]. artifact: 6cfb59ff64 user: welch
00:52 • New ticket [218018ffff]. artifact: 604b1914d5 user: nobody

wish command line handling

Closed / Invalid218018ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:52:14
OriginalBugID: 1061 RFE
Version: 8.1a2
SubmitDate: '1999-01-15'
LastModified: '1999-08-15'
Severity: LOW
Status: Closed
Submitter: pat
ChangedBy: hobbs
OS: Windows NT
OSVersion: 4.0 sp3
Machine: X86
FixedDate: '2000-10-25'
ClosedDate: '1999-08-15'


Name:
Petteri Kettunen

DesiredBehavior:
I wish to be able to execute wish as follows:

wish.exe graph.tcl data.tcl

At the moment wish.exe reads in only "graph.tcl."
I'd like to see it reading all the files given form the command line.
In this example, I have sub-routines for plotting data in graph.tcl.
The data and other utilities are in data.tcl.
Somehow it would make sense (for me) if tclsh and wish read all the files
given at the command prompt. I was sort of expecting this to be 
default feature.  


If graph.tcl really relies on util routines in data.tcl, then
it should source it in directly or indirectly (via the package
or auto_index mechanisms).  The other option is:
    cat data.tcl graph.tcl | wish 
-- 08/15/1999 hobbs
welch Closed ticket [218018ffff]. [History diff]2000-10-26 08:12:12
dgp Open ticket [218018ffff]. [History diff]2001-04-17 04:24:02
dgp Open ticket [218018ffff]. [History diff]2001-04-17 04:24:53
dgp Open ticket [218018ffff]. [History diff]2001-04-17 04:25:04
dgp Closed ticket [218018ffff]. [History diff]2001-04-17 04:29:07
Log in (anonymous is fine) to add a comment.