I was trying to code a simple while loop in tcsh shell. #!/bin/tcsh set cnt=5 while ($cnt > 0) cnt = $cnt(`expr($cnt - 1))
確定! 回上一頁