running shell commands splats the output into a plain window, with output and errors thrown in together, and line endings ignored.
How are you running the command?
cmd-R = Shell->Execute Current File in Window.
if [ ! -x "${TM_FILEPATH}" ] then echo "Cannot execute '${TM_FILEPATH}' : permission error" else "${TM_FILEPATH}" fi
it outputs to an HTML window, but it ain't pretty.
--- Bruno