From 97f11010cb548c45c8d521940171abd7bcdf0021 Mon Sep 17 00:00:00 2001 From: Stephen Rothwell Date: Wed, 21 Jun 2017 11:40:15 +1000 Subject: [PATCH] do_build: ignore blank lines as well --- do_build | 1 + 1 file changed, 1 insertion(+) diff --git a/do_build b/do_build index 451797e..20c3478 100755 --- a/do_build +++ b/do_build @@ -50,6 +50,7 @@ $cmd <<-EOF sanitise_log() { sed -r ' +/^[[:space:]]+$/d /^[.[:digit:]]+user [.[:digit:]]+system [:.[:digit:]]+elapsed [[:digit:]]+%CPU \([[:digit:]]+avgtext\+[[:digit:]]+avgdata [[:digit:]]+maxresident\)k$/d /^[[:digit:]]+inputs\+[[:digit:]]+outputs \([[:digit:]]+major\+[[:digit:]]+minor\)pagefaults [[:digit:]]+swaps$/d /^Setup is [[:digit:]]+ bytes \(padded to [[:digit:]]+ bytes\)\.$/d -- 2.39.2