ã·ã§ã«ã¹ã¯ãªããã§ç¹°ãè¿ãå¦çãè¡ãã¨ãå¿ è¦ã«ãªããã¨ãå¤ãããã°ã°ãããã«ãããã¦ã¿ã¦ãæ¡å¤ããã«è¦ã¤ãããªãã®ã§è¨é²ãã¦ãããã®ã§ããã1ãã100ã¾ã§1ãã¤å¢å ãããªããç¹°ãè¿ãå ´åã¯ãããªæãã for i in `seq 1 1 100` do // do something done ã¯ã³ã©ã¤ãã¼ã§æ¸ããªããããªãã $ for i in `seq 1 1 100`; do // do something; done 1 2 (snip) 99 100 2ãã¤å¢å ããããªã`seq 1 2 100`ã«ããã°è¯ãã ãªãwhileæã§ãåæ§ã®ãã¨ã¯ã§ãããé·ããªããè¤éã§åããã«ããã i=1 while [ $i -le 100 ]; do // do something i=`expr $i + 1` done ã¯ã³ã©ã¤ãã¼ã ã¨è¦ãç®ã®è¤éããããã«å¢ãã $ i=1; w
{{#tags}}- {{label}}
{{/tags}}