Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
some traces have TAB instead of space after %
authorLucas Schnorr <schnorr@inf.ufrgs.br>
Tue, 25 Aug 2015 17:09:19 +0000 (14:09 -0300)
committerLucas Schnorr <schnorr@inf.ufrgs.br>
Tue, 25 Aug 2015 17:09:19 +0000 (14:09 -0300)
tools/fix-paje-trace.sh

index 5305d78..211a727 100755 (executable)
@@ -26,7 +26,7 @@ do
   GREP="/^$i /d; $GREP"
   GREP2="-e '^$i ' $GREP2"
 done
-GREP="/^%\ /d; /^%E/d; $GREP"
+GREP="/^%\ /d; /^%     /d; /^%E/d; $GREP"
 
 cat $TRACE | eval grep $GREP2 > types
 /bin/sed -e "$GREP" $TRACE > events