쉘 프로그램에서

playgame의 이미지

tmp_val=${tmp%%,*}

이런 문장이 의미하는 것이 뭔가요?

stoneshim의 이미지

Quote:
${var%%Pattern}

Remove from $var the longest part of $Pattern that matches the back end of $var.

다음을 참고하세요
http://tldp.org/LDP/abs/html/parameter-substitution.html#USAGEMESSAGE

우리 모두 리얼리스트가 되자. 그러나 가슴에 이룰 수 없는 꿈을 가지자