From b66e224d79d66086164655b9030bf6dffb2f32a2 Mon Sep 17 00:00:00 2001 From: Patrice Clement Date: Tue, 26 Jul 2016 11:03:51 +0200 Subject: wc accepts files as input parameter. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Sébastien Lesaint --- scripts/property_utils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/property_utils.sh b/scripts/property_utils.sh index 8ac285af760..ea1545d5b24 100755 --- a/scripts/property_utils.sh +++ b/scripts/property_utils.sh @@ -10,7 +10,7 @@ set -euo pipefail function cnt_lines() { local FILE=$1 - cat $FILE | wc -l + wc -l $1 } function write_prop() { -- cgit v1.2.3