10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All ,
I am having a file as stated below
File 1
chain = chan6 group = grp0 input = '/pad_pc10' output = '/pad_pb7' length = 9900
chain = chan2 group = grp0 input = '/pad_pa4' output = '/pad_pb12' length = 10000
chain = chan7 group = grp0 input = '/pad_pb2' output =... (1 Reply)
Discussion started by: kshitij
1 Replies
2. Shell Programming and Scripting
In a tcl script I need to find a way of reading a file, and looking for a phrase ("set myvariable") and putting the word following that into a variable.
I've used a file open, and a while loop with gets to read each line from the file into a variable, and using regexp searched for the item. I'm... (1 Reply)
Discussion started by: Tonyb61
1 Replies
3. UNIX for Advanced & Expert Users
hi all ,
i am trying to link a file with another file present in some other location in tcl shell. This is the way i am doing it
if {} {
file link /data/athena_dev/tanvi/tcl/tanvi.log "/data/athena_dev/tanvi/tanvi.tcl"
}
I am getting the error that /data/athena_dev/tanvi/tcl/ta nvi.log... (1 Reply)
Discussion started by: harjinder
1 Replies
4. UNIX for Dummies Questions & Answers
Hi All,
I am searching for two string in the .log file
The strings are
Active Flop-Maps "0 0 1 0 1" 1
and
Ouput-Maps " 0 0 1 1 0" 2
It should search in the file ignoring white spaces .Tell me what is wrong with this script.
The tcl script is as follows
proc proc2 {arglist} {
... (2 Replies)
Discussion started by: suvendra
2 Replies
5. Shell Programming and Scripting
I need to read a file, the file has a table in it. From the table I need to choose all the rows for which AVG 2 value is greater than 0.050 and write them on to a separate file. Please help me with the TCL script for this.
Thanks in Advance (0 Replies)
Discussion started by: tonystark
0 Replies
6. Programming
Dear Users
I'm struck by while the following tcl script.
foreach l {
set w($l) {}
set fsum 0
foreach ftemp $f($l) {
set fsum
lappend w($l) $fsum
}
}
It shows me error as "missing operand at _@_
in expression "0.10308400000000001 + _@_* 0.4 * 1"
... (0 Replies)
Discussion started by: bala06
0 Replies
7. Shell Programming and Scripting
hello everyone
i am beginner on shell scripting .and i am working on my project work on ad hoc network
i wrote a batch (.sh) to do a looping and execute a tcl script i wrote before in each iteration ..but i got this problem "
syntax error near unexpected token `('... (1 Reply)
Discussion started by: marcoss90
1 Replies
8. Shell Programming and Scripting
i have atcl script and i want to source a csh script to reflect changes done by script ........
Please help....... (0 Replies)
Discussion started by: paragarora47
0 Replies
9. Shell Programming and Scripting
I have an extraordinary problem with a csh script.....(feel free to berate the use of this but I'm modifying an existing bunch of them)
Anyway, I have a master csh script which in turn calls a second csh script. This second csh script is below. Within this second script are two compiled C++... (1 Reply)
Discussion started by: pollsizer
1 Replies
10. Shell Programming and Scripting
Hi Seniors,
Need a help from your end. I am new to scripting and still in the learning process of scripting. I have written a script on TCL TK.
This is the script that i have written.
if { $EssEntityType == "rss_user" && $EssAction == "Insert" } {
puts $fp " Ess Action :$EssAction"
... (0 Replies)
Discussion started by: tech90210
0 Replies