2 dir_names
=("tcp/null" "tcp/sort" "udp/null" "udp/sort" "rpc/null/tcp" "rpc/null/udp" "rpc/sort/tcp" "rpc/sort/udp" "rmi/null" "rmi/sort")
5 dir_name
=${dir_names[$d]}
7 mv "$dir_name/out.txt" "$dir_name/out.bak.txt"
14 if [ "$d" = "8" ] ||
[ "$d" = "9" ]
17 #java Client 127.0.0.1:808"$d" >> "out.txt"
18 java Client
143.54.12.150:808"$d" >> "out.txt"
21 #./"$dir_name/client" 127.0.0.1 808"$d" >> "$dir_name/out.txt"
22 .
/"$dir_name/client" 143.54.12.150 808"$d" >> "$dir_name/out.txt"
27 .
/calc.rb
"$dir_name/out.txt"