bash ã§for ã®ç¯å²æå®
for a in $(seq 1 5)
do
echo $a
doneä¸ã®ä¾ã§ã¯$(seq 1 5)ãå±éããã¦ã·ã§ã«ã«ã¯1 2 3 4 5ã渡ããã.ãããã£ã¦,ã·ã§ã«ãåãåãã®ã¯äºã¤ä¸ã®ä¾ã¨åãã§ãã.
for a in $(seq 1 5)
do
echo $a
doneä¸ã®ä¾ã§ã¯$(seq 1 5)ãå±éããã¦ã·ã§ã«ã«ã¯1 2 3 4 5ã渡ããã.ãããã£ã¦,ã·ã§ã«ãåãåãã®ã¯äºã¤ä¸ã®ä¾ã¨åãã§ãã.