Edson writes: > I think that this can help You: > > RET="$($CTLCMD $CMD | head -1)" > edson, i tried, but \n chars in $CMD are still converted to spaces: Aug 24 21:35:18 localhost /usr/sbin/openser[10726]: DEBUG:mi_fifo:mi_parse_tree: adding node <> ; val <From: sip:daemon at taimen^M To: <sip:jh at test.fi>^M Contact: sip:daemon@!!>^M > -- juha