Bourne Shell ã§é åãã©ããå®è£ ããæ¹æ³ 2003-01-29-2 - ããã°ã©ã ä¾ #!/bin/sh vars0=aaa vars1=bbb vars2=ccc i=0 while [ $i -lt 3 ] do eval var=\$vars$i echo $var i=`expr $i + 1` done - å®è¡çµæ aaa bbb ccc
bash ã®è§£èª¬ãªãã¦ããããä¸ã«ã¯çµæ§ãã£ããããã®ã ãããããããããå ¬éãããã¨ããã®ã¯ã次ã®çç±ã«ããã æã½ãããã¦ã¹ã§ã®UNIXè¬åº§ç¨ã«æ¸ãã¦ãã¾ã£ãããã ãããä¸ã«ãã bash 解説ã ã¨ã表é¢çãªæ§æ解説ç¨åº¦ã§ããããã£ã¡ãã¹ã¯ãªããè¨èªã¨ãã¦ä½¿ãåãã¬ãã«ã®è§£èª¬ã¯ãã¾ããªããã¾ããããã°ã©ãã³ã°è¨èªã¨ãã¦åã£ããµã³ãã«ããã£ã¦ã¿ãããããªãã®ãã¨ããããªã§å²ã¨ãã£ã¼ãã«è§£èª¬ããã ã¢ã¯ã»ã¹ãå¢ããããã®äººæ°åãï¼è¦ç¬ï¼ã ã¾ãããããªä¸ç´ãªç®çã«ãã bash 解説ã§ãããã¨ã¯ãããæ¥å¸¸çã«ä½¿ãæ £ãã¦ãã bash ã§ãã£ã¦ããããããããªä½¿ãæ¹ããã£ãã®ï¼ï¼ãã¨ããçºè¦ããããã¨ã§ããããè¦ç¬ããªããã§ãèªãã§ãããã¾ããã ãããåæ©çãªãªãã¤ã¬ã¯ã·ã§ã³ãªããã¯è§£èª¬ããªããããã®ã¤ããã§ã ã¡ãªã¿ã«åèæ¸ã¨ããã®ã¯ãªã©ã¤ãªã¼ã»ã¸ã£ãã³åãå ¥é bash 第ï¼çãã§ãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}