Hi. This may be an another obvious thing I have missed, but:
Running Ruby produces beautiful output, through Rubymate. But running shell commands splats the output into a plain window, with output and errors thrown in together, and line endings ignored.
Is there any way to pipe shell output through Rubymate, or any similar functionality for the shell?
--- Bruno
On 17 May 2007, at 11:12, Bruno wrote:
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? Have you set the language to “Shell Script (Bash)” and used ⌘R? You should get a nice HTML output window.
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
On 17. May 2007, at 15:45, Bruno wrote:
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. [...] it outputs to an HTML window, but it ain't pretty.
Today it’s actually “Shell Script → Run Script” and the code has been updated since the version you pasted.
Try http://macromates.com/wiki/Troubleshooting/RevertToDefaultBundles
Try http://macromates.com/wiki/Troubleshooting/RevertToDefaultBundles
Thank you. I checked out the repository and removed my 'Pristine Copies', but the new Shell Script bundle didn't show up until I deleted UnixShell inside my own Bundles directory. I have to say that I find Bundle management a little hard to understand - but I guess most TM users are more geeky than me.
:-)
-- Bruno