맞게 질문한 건지 모르겠습니다....;;
가령
mval=$(grep patt file) echo $mval
대신
grep patt file > filelist cat filelist
왜 이렇게 되는 건가요?? 흑흑...
http://lmgtfy.com/?q=shell+variable+newline
감사합니다 감사합니다~
http://lmgtfy.com/?q=shell+va
http://lmgtfy.com/?q=shell+variable+newline
아고고고~
감사합니다 감사합니다~