From 8c776912f74e609bae96baeaa1eec7dd981ae837 Mon Sep 17 00:00:00 2001 From: rand00 Date: Wed, 21 Dec 2022 11:52:01 +0100 Subject: [PATCH] packaging/perftest/unipi/plot.sh: Removed now unneccesary 'echo' --- packaging/perftest/unipi/plot.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/packaging/perftest/unipi/plot.sh b/packaging/perftest/unipi/plot.sh index 8063503..380f0a6 100755 --- a/packaging/perftest/unipi/plot.sh +++ b/packaging/perftest/unipi/plot.sh @@ -42,11 +42,11 @@ while read UUID; do if [ $N = 1 ]; then echo -n "# Build UUID - " - echo $(cat "$CSV" | head -n1 | cut -d, -f"$COLS" \ - | sed 's/,//g' \ - | sed 's/ \+//' \ - | sed 's/\( \+\)/ -\1/g' \ - ) > "$DAT" + cat "$CSV" | head -n1 | cut -d, -f"$COLS" \ + | sed 's/,//g' \ + | sed 's/ \+//' \ + | sed 's/\( \+\)/ -\1/g' \ + > "$DAT" fi #goto validate csv file, and on invalid: append error-data instead @@ -54,7 +54,8 @@ while read UUID; do echo -n "$UUID " >> "$DAT" cat "$CSV" | tail +2 | cut -d, -f"$COLS" \ | sed 's/,//g' \ - | sed 's/ \+//' >> "$DAT" + | sed 's/ \+//' \ + >> "$DAT" N=$(($N + 1))