any idea, how to do something like this, but in correct/functional form? ;-) Set(foo=System(echo "${EXTEN}" | tr "[:upper:]" "[:lower:]")) ${EXTEN} is "SomeStrinG" ${foo} output should bee "somestring"