From ec0dfec4d2541eb0ff777109165e477832d579b4 Mon Sep 17 00:00:00 2001 From: Pierre Fenoll Date: Thu, 14 Dec 2017 16:03:03 +0100 Subject: In kerl line 496: tail -n +$(($INDEX+3)) "$1" | \ ^-- SC2004: $/${} is unnecessary on arithmetic variables. --- kerl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kerl b/kerl index 7832ae0..ed8f703 100755 --- a/kerl +++ b/kerl @@ -493,7 +493,7 @@ show_configuration_warnings() if [ -n "$INDEX" ]; then # Skip the section header, find the end line and skip it # then print the results indented - tail -n +$(($INDEX+3)) "$1" | \ + tail -n +$((INDEX+3)) "$1" | \ sed -n '1,/\*/p' | \ awk -F: -v logfile="$1" -v section="$2" \ 'BEGIN { printf "%s (See: %s)\n", section, logfile } -- cgit v1.2.3