From f6942f32605f3919fb8633a30fe57d456704af01 Mon Sep 17 00:00:00 2001 From: Cas Cremers Date: Sun, 21 Oct 2018 23:32:24 +0200 Subject: [PATCH] Fix to temporarily store also intermediate trampoline scan results. --- src/count_trampolines.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/count_trampolines.sh b/src/count_trampolines.sh index eae73c7..91a566f 100755 --- a/src/count_trampolines.sh +++ b/src/count_trampolines.sh @@ -1,7 +1,11 @@ -#!/bin/sh +#!/bin/bash -make clean ; make 2>&1 |grep "warning: trampoline" | sort -u > trampolines.out -cat trampolines.out +TMP1="trampolines-raw.out" +TMP2="trampolines.out" + +make clean ; make 2>$TMP1 +cat $TMP1 | grep "warning: trampoline" | sort -u > $TMP2 +cat $TMP2 echo -wc -l trampolines.out +wc -l $TMP2