cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2292
Views
5
Helpful
7
Replies

tclsh is working in a different way between releases?

lmcruzmir
Level 1
Level 1

IOS: c7200p-advipservicesk9-mz.151-4.M3a.bin

(tcl)#set bla [ exec "sh run | i IO_Inet"]

! shows lines matching IO_Inet string

! also I am able to read the "bla" variable with puts correctly

IOS: c7200p-advipservicesk9-mz.152-4.S2.bin

(tcl)#set bla [ exec "sh run | i IO_Inet"]

(tcl)#puts $bla

Everything is empty!!

Can anyone here give a hand?

I am very close to cut my veins.

7 Replies 7

mstewart100
Level 1
Level 1