[TxMt] Few extensions to C Bundle

Allan Odgaard allan at macromates.com
Thu Sep 15 15:55:54 UTC 2005


On 15/09/2005, at 17.50, Allan Odgaard wrote:

> And [...]

Well, when you pickup something simple, you just can't let it go…  
here's another iteration:

     echo -n '<pre>'
     if g++ "$TM_FILENAME" -o "$(perl -pe <<<"$TM_FILEPATH" 's|\.[^.]+ 
$||')" \
      2> >(perl -pe 's|^.*?:(\d+):\s*(.*?)$|<a href="txmt://open?line= 
$1">$2</a>|')
         then echo "</pre><h3>Build succeded</h3>"
         else echo "</pre><h3>Build failed</h3>"
     fi




More information about the textmate mailing list