Browse Source

wc accepts files as input parameter.

Signed-off-by: Sébastien Lesaint <sebastien.lesaint@sonarsource.com>
tags/6.1-RC1
Patrice Clement 7 years ago
parent
commit
b66e224d79
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      scripts/property_utils.sh

+ 1
- 1
scripts/property_utils.sh View File

@@ -10,7 +10,7 @@ set -euo pipefail

function cnt_lines() {
local FILE=$1
cat $FILE | wc -l
wc -l $1
}

function write_prop() {

Loading…
Cancel
Save