2011å¹´01æ04æ¥01:47 Linux ã¡ãã£ã¨ããå¦çã«ã¯seqã³ãã³ãã使ãã¨ãã£ããã ã1ãã10ã¾ã§æ¹è¡ä»ãã§è¡¨ç¤ºãããã¿ãããªãã¨ããããã¨ããã³ãã³ãã©ã¤ã³ãã¡ãã£ã¨ããã¹ã¯ãªããã§æ¸ãã¨ãããã©ãããã§ãããã for i in {1..10}; do echo $i; done å¤åããã¼ã«æ¸ãã¨ãããªæãã§ãããããã§ãé·ãããããã©ãã§ãããã¼ã å®ã¯ä»æ¥ãé£çªã表示ãã seq ã¨ããã³ãã³ããç¥ãã¾ããããã®ã³ãã³ãã使ãã¨âã¨åãå¦çããããªã·ã³ãã«ã«æãã¾ãã seq 1 10 ãã£ãããï¼ï¼ã¡ãªã¿ã«ã-w ãªãã·ã§ã³ã§ã¼ãè©°ã表示ã-s ãªãã·ã§ã³ã§åºåãæåï¼ããã©ã«ãã¯æ¹è¡ï¼ã®å¤æ´ãåºæ¥ã¾ãã --- 以ä¸ã¯ mac ãªäººåãã mac(*BSDç³») ã«ã¯ GNU ã®ã³ãã³ãã¯å ¥ã£ã¦ããªãã®ã§ seq ã使ããã¨ãåºæ¥ã¾ãããmac ã§ã seq
{{#tags}}- {{label}}
{{/tags}}