| [ CnUnix ] in KIDS 글 쓴 이(By): pkyoung () 날 짜 (Date): 2002년 4월 29일 월요일 오후 05시 45분 59초 제 목(Title): [Q] shell script - for loop bash 에서.. (또는 그 밖의 shell)에서 for(i=0 ; i<50 ; i+=2 ) command $i end 와 같은 형식의 shell script를 만들수 있을까요? O'Reilly 에서 나온 bash 책에는 꼭집어서 `안된다' 라고 나와 있네요.. (2nd ed. p127) 또는 while 의 형식이 while [condition] ; do command ; done 인데 condition 에 arithmetic condition을 쓸 수는 없는건가요? |