[TxMt] Re: Setting command results .

Sune Foldager cryo at cyanite.org
Mon Jan 23 13:43:57 UTC 2006


On 23/01/2006, at 14:26, Benjamin Jackson wrote:

> mtasc -cp "$TM_MX_CLASSES" -cp "$TM_CLASS_PATH" -cp
> "$TM_CLASS_PATH/FP8" -cp "$PROJECT_DIR/src" -cp "$PROJECT_DIR/
> classes" -version $flashVersion -trace $traceOption -frame 10 -mx -
> out "$TM_SWF_OUTPUT" -swf "$TM_SWF_INPUT" "Main.as" 2>&1 | grep  
> characters | grep -v warning | perl -pi -e 's/^(.+?):(.+?):  
> characters? (\d+?)(?:-\d+)? : (.*)$/<a href="txmt:\/\/open?file= 
> $TM_PROJECT_DIRECTORY$1&line=$2&column=$3">$1:$2: $4<\/a>/g'

It's funny how, the nicer one tries to make the output, the more  
unreadable the commands to make it so, seem to become :-p.

-- Sune.




More information about the textmate mailing list