[TxMt] Re: tr: range-endpoints of

Matthew Mayes matt at stoptimestudio.com
Sun Apr 27 03:37:51 UTC 2008


Thank you Paul!

You were correct, my MacPorts installation seems to have messed up the  
tr command.

By explicitly setting it to the OSX path (/usr/bin/tr) within the drag  
command, it is now working correctly.

Cheers,
Matt

> Hi Matt,
>
> When I drag an image, whether it be from the filesystem or the project
> > drawer, I get strange output where the alt tag should start.
> >
> > <img src="building.jpg" border="0" width="200" height="438" tr:
> > range-endpoints of
> >
>
> Just for the record it's working fine here (10.5.2, latest TextMate  
> (1464))
> , which suggests to me that you might be bumping into a non-standard  
> "tr"
> 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  
> "alt" looks
> like it comes from a linuxy tr, rather than the built-in /usr/bin/ 
> tr : what
> do you get when you enter
>
>   which tr
>
> 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  
> explicitly
> point at the built-in version of tr (or move the impostor out of the  
> way).
> Anyway, it's just speculation, but hopefully it sets you on the right
> track...
>
> Cheers,
> Paul



More information about the textmate mailing list