From: Stephen Rothwell Date: Wed, 21 Jun 2017 01:40:15 +0000 (+1000) Subject: do_build: ignore blank lines as well X-Git-Url: http://git.ozlabs.org/?a=commitdiff_plain;h=97f11010cb548c45c8d521940171abd7bcdf0021;p=next-scripts do_build: ignore blank lines as well --- 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