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