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.