<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                ` `在tcl腳本中調用shell的腳本,如下: ``` #!/usr/bin/tclsh #在tcl腳本中調用bash腳本 puts "" puts "××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××" puts "運行在tcl腳本中調用bash腳本,對應腳本為 example/useBashIntcl.tcl" puts "××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××" puts "下面將會調用 syahello.sh輸出hello,bash!到shelllog文件" exec bash sayhello.sh ;#使用exec調用shall腳本 puts "調用操作成功" puts "" ``` ``` #!/bin/bash echo "hello,bash"\>shelllog ``` 再看一個例子 test.sh ```bash shell腳本 #!/usr/bin/bash # test.sh n=0 x="*" while [ $n -lt 10 ] do echo "x" x=$x* n=`expr $n + 1` done ``` demo.tcl ```tcl Tcl/Tk腳本 demo.tcl #!/usr/bin/tclsh set ret [exec bash test.sh] puts $ret ``` 執行`tclsh demo.tcl` ![](https://img.kancloud.cn/dd/35/dd357b4ff04bf7df62ed5221087b237d_162x220.png)
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看