3
Lỗi Shell Script khi sử dụng Cygwin
Tôi đã nhận được lỗi này sau khi thực hiện kịch bản shell như dưới đây. $ ./script_test.sh ./script_test.sh: line 3: syntax error near unexpected token `$'do\r'' '/script_test.sh: line 3: `for ((j=0; j<"$N"; j++)) ; do Kịch bản dưới đây #!/bin/sh # This script will launch 10 simulations for each …