bash for loop work in command line, but failed in script ...
經安全檢測,此網站為安全網站,請放心前往原始網址!
bash for loop work in command line, but failed in script ...
2011年8月15日 - your bash command line ends with the first ;. so it gets executed separately as: bash for i in {1..10}; do echo $i; done. and man bash says command ...