fast-start

来自「robocup 卡梅隆99源代码!本人没怎么看明白!望大家一起研究」· 代码 · 共 61 行

TXT
61
字号
#Execution Fileif ("$#argv" == "0") then        set host = "localhost"        set teamname = "CMUnited"        set programname  = "peterclient"else if ("$#argv" == "1" ) then        set host = "localhost"        set teamname = $1        set programname  = "peterclient"else if ("$#argv" == "2" ) then        set host = $1        set teamname = $2        set programname  = "peterclient"else if ("$#argv" == "3" ) then        set host = $2        set teamname = $3        set programname  = $1else        echo "Usage:  $0 <program-name> <host-name> <team>"        exit -1endif#set simulator_step = 30echo "Running with the following parameters"echo "Hostname: " $hostecho "Team: " $teamnameecho "Program: " $programname#echo "Sim_step: " $simulator_step$programname -file client.conf -host $host -team_name $teamname &#sleep 1$programname -file client.conf -host $host -team_name $teamname &#sleep 1$programname -file client.conf -host $host -team_name $teamname &#sleep 1$programname -file client.conf -host $host -team_name $teamname &#sleep 1$programname -file client.conf -host $host -team_name $teamname &#sleep 1$programname -file client.conf -host $host -team_name $teamname &#sleep 1$programname -file client.conf -host $host -team_name $teamname &#sleep 1$programname -file client.conf -host $host -team_name $teamname &#sleep 1$programname -file client.conf -host $host -team_name $teamname &#sleep 1$programname -file client.conf -host $host -team_name $teamname &#sleep 1$programname -file client.conf -host $host -team_name $teamname &#sleep 1#waitforq#if ( -e /usr/ucb/ps ) then #  kill `/usr/ucb/ps ax | grep $programname | grep -v grep | awk '{print $1}'`#else#kill -9 `ps ax | grep $programname | grep -v grep | awk '{print $1}'`#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?