From 6776c1a446ab4d1763cc485981ab2ef53a223bd1 Mon Sep 17 00:00:00 2001 From: s460941 Date: Wed, 22 Apr 2020 16:44:59 +0200 Subject: [PATCH] lines --- count.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) mode change 100644 => 100755 count.sh diff --git a/count.sh b/count.sh old mode 100644 new mode 100755 index 5887163..5df979c --- a/count.sh +++ b/count.sh @@ -1,2 +1,3 @@ -LINES =$ (wc -l "wikiniews_results.tsv") -echo $LINES +var=$(wc -l "wikiniews_results.tsv") +lines=${var%% *} +echo $lines