Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how to run run tcl code in linux ???

Status
Not open for further replies.

Tom2

Full Member level 5
Joined
Nov 11, 2006
Messages
318
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,298
Activity points
3,457
how to run tcl file

I try to write a code in tcl language (in linux).

The problem is that i don't know how to run this code.

Is anyone who can help ??????????????????
 

arabic version of run code

We execute the tcl file by using the command 'source'
as:

source tcl_file

at the tcl prompt.
 

run tcl code

You can also have the following as the first line:
#!/usr/bin/tclsh
# <reset of code>

then specify the name of the script at the command as:
$> ./<scriptName>

Also make sure that the file access attribute of the script include "executable", if not do:
$> chmod +x <scriptName>
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top