#!/bin/sh CHARS="ymir xyros nana" DEF_common=NWN2 DEF_ymir="$DEF_common fighter" DEF_xyros="$DEF_common rogue" DEF_nana="$DEF_common cleric" for CHAR in $CHARS do echo ${DEV_$CHAR} <= ?????? done exit 0; 코드가 간단해서 의도는 쉽게 짐작하시리라 생각됩니다.. 변수를 C 의 ## 과 같은 용법으로 쓸 수 있는지요? 아니면 간단한 팁이라도.. ^^ 미리 감사드립니다. Oh, I do believe everlasting love and destiny to meet you again I feel a pain I can hardly stand all I can do is loving you - *Mizz* the Magic Knight!