私はTCLを使ってciscoルータのすべてのインターフェイスを処理しようとしています。 set int_out [exec "show interface description"]
OUTPUT Interface Status Protocol Description
Fa0/0 up up ** REDACTED **
Fa0/0.209
tclの外部プログラムからデータを送受信するには?私はこれを試しています: set d exec maxima --batch-string='5+10;'
puts d;
しかし、それは動作しませんでした。私はMaxima(http://maxima.sourceforge.net/index.html)をtclから呼び出し、tcl maximaの結果に戻る必要があります。公式文書は空でも
Plsなぜ変数を印刷できないのですか? set var a
toplevel .window
frame .window.frame0
label .window.frame0.label0 -textvariable var
pack .window.frame0.label0 -side left
pack .window.frame0 -side top