#!/bin/bash Log=keepLog; echo "" > tempLog; grep "None," $Log | grep "precise," | grep ",lc," >> tempLog; grep "None," $Log | grep "precise," | grep ",dynamicLocomoMedian," >> tempLog; grep "NewCOCOMINWrapperMedian," $Log | grep "precise," | grep ",lc," >> tempLog; grep "NewCOCOMINWrapperMedian," $Log | grep "precise," | grep ",dynamicLocomoMedian," >> tempLog; grep "LSRWrapper," $Log | grep "precise," | grep ",lsr," >> tempLog; grep "M5PWrapper," $Log | grep "precise," | grep ",m5p," >> tempLog; grep "LocalWrapper," $Log | grep "precise," | grep ",lc," >> tempLog; grep "None," $Log | grep "precise," | grep ",nearestNeighborMre," >> tempLog; grep "None," $Log | grep "precise," | grep ",lcManualStratification," >> tempLog; grep "None," $Log | grep "precise," | grep ",sd," >> tempLog; grep "None," $Log | grep "precise," | grep ",e," >> tempLog; grep "None," $Log | grep "precise," | grep ",org," >> tempLog; grep "None," $Log | grep "precise," | grep ",nearestNeighborMe," >> tempLog; grep "None," $Log | grep "precise," | grep ",locomo," >> tempLog; grep "None," $Log | grep "precise," | grep ",dynamicLocomoMean," >> tempLog; grep "COCOMINWrapper," $Log | grep "precise," | grep ",dynamicLocomoMedian," >> tempLog; grep "COCOMINWrapper," $Log | grep "precise," | grep ",dynamicLocomoMean," >> tempLog; grep "COCOMINWrapper," $Log | grep "precise," | grep ",locomo," >> tempLog; grep "NewCOCOMINWrapperMedian," $Log | grep "precise," | grep ",locomo," >> tempLog; grep "NewCOCOMINWrapperMedian," $Log | grep "precise," | grep ",dynamicLocomoMean," >> tempLog; grep "NewCOCOMINWrapperNative," $Log | grep "precise," | grep ",lc," >> tempLog; grep "NewCOCOMINWrapperNative," $Log | grep "precise," | grep ",locomo," >> tempLog; grep "NewCOCOMINWrapperNative," $Log | grep "precise," | grep ",dynamicLocomoMedian," >> tempLog; grep "NewCOCOMINWrapperNative," $Log | grep "precise," | grep ",dynamicLocomoMean," >> tempLog; sed 's/coc81_[a-z0-9_]*/coc81_all/' tempLog | sed 's/nasa93_[a-z0-9_]*/nasa93_all/' > finalLog; rm tempLog;