diff options
author | Pierre Fenoll <[email protected]> | 2017-12-14 16:03:03 +0100 |
---|---|---|
committer | Pierre Fenoll <[email protected]> | 2018-03-14 11:41:52 +0100 |
commit | ec0dfec4d2541eb0ff777109165e477832d579b4 (patch) | |
tree | 9e0a0f9062d834ab9654c0cff9df6dac07d59f15 | |
parent | 9d974e1f97a112dfc730c1d7c417792edf30dfb9 (diff) | |
download | kerl-ec0dfec4d2541eb0ff777109165e477832d579b4.tar.gz kerl-ec0dfec4d2541eb0ff777109165e477832d579b4.tar.bz2 kerl-ec0dfec4d2541eb0ff777109165e477832d579b4.zip |
In kerl line 496:
tail -n +$(($INDEX+3)) "$1" | \
^-- SC2004: $/${} is unnecessary on arithmetic variables.
-rwxr-xr-x | kerl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 } |