From: gregor herrmann Date: Tue, 27 Oct 2020 15:27:44 +0000 (+0100) Subject: Makefile: log target: filter out "Finished" lines as well X-Git-Url: https://git.toastfreeware.priv.at/toast/airingbutler.git/commitdiff_plain/1f5486cee5108ba5b34915864cd72ee8415e2149?ds=sidebyside;hp=f83d216849a3d04774d46f09d51791f4c4d417e1 Makefile: log target: filter out "Finished" lines as well --- diff --git a/Makefile b/Makefile index 7a650c1..cb11d5a 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ all: $(CURDIR) log.csv: log cp $< $@ fromdos $@ - sed -i -e '/Started/ d' -e 's/ O: /,/g' $@ + sed -i -e '/Started/ d' -e '/Finished/ d ' -e 's/ O: /,/g' $@ perl -ni -e 'BEGIN{$$i=0}; print if ($$_ !~ /CO2/ || $$i == 0); $$i++;' $@ .PHONY: log.csv