Thank you Paul!
You were correct, my MacPorts installation seems to have messed up the
By explicitly setting it to the OSX path (/usr/bin/tr) within the drag
command, it is now working correctly.
When I drag an image, whether it be from the filesystem or the project
drawer, I get strange output where the alt tag
<img src="building.jpg" border="0" width="200"
Just for the record it's working fine here (10.5.2, latest TextMate
, which suggests to me that you might be bumping into a non-standard
utility. That's certainly the point at which the command looks to be
breaking. The string that you're seeing inserted in place of the
like it comes from a linuxy tr, rather than the built-in /usr/bin/
tr : what
do you get when you enter
and then hit control-r within TextMate? If it's something other than
/usr/bin/tr you can either adapt your PATH (see the TM manual) or
point at the built-in version of tr (or move the impostor out of the
Anyway, it's just speculation, but hopefully it sets you on the right