]> git.ozlabs.org Git - next-scripts/commitdiff
do_build: ignore blank lines as well
authorStephen Rothwell <sfr@canb.auug.org.au>
Wed, 21 Jun 2017 01:40:15 +0000 (11:40 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 21 Jun 2017 01:40:15 +0000 (11:40 +1000)
do_build

index 451797e76319c133f8fbe1b7fb753329cf1190b9..20c3478120abfa104a89878520864981a8b8e0cc 100755 (executable)
--- 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