From 811a6a20004f4fae04a899b4beb7e369e4be0797 Mon Sep 17 00:00:00 2001 From: s452111 Date: Tue, 21 Apr 2020 22:53:15 +0200 Subject: [PATCH] Task 3 - metrics - starting point --- metrics_service.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/metrics_service.sh b/metrics_service.sh index 32dee9d..c3ac2dc 100644 --- a/metrics_service.sh +++ b/metrics_service.sh @@ -6,5 +6,5 @@ cut -f2 'wikiniews_results.tsv' > hypothesis.txt cut -f3 'wikiniews_results.tsv' > reference.txt # awk transfer txt to .trn -awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < referencje.txt > reference.trn -awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < hipotezy.txt > hypothesis.trn +awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < reference.txt > reference.trn +awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < hypothesis.txt > hypothesis.trn