aboutsummaryrefslogtreecommitdiff
path: root/bin/lines
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-10-20 11:07:19 -0300
committerEuAndreh <eu@euandre.org>2022-10-20 11:07:20 -0300
commit7c3a0a4f09c81558918b66deeafa486234a73294 (patch)
treef7b0a320665021fd5c2d4b43026955dfeefc1ab1 /bin/lines
parentbin/cl: Handle -l option (diff)
downloaddotfiles-7c3a0a4f09c81558918b66deeafa486234a73294.tar.gz
dotfiles-7c3a0a4f09c81558918b66deeafa486234a73294.tar.xz
Fix all ShellCheck warnings
IOW, `make check-shellcheck` passes.
Diffstat (limited to 'bin/lines')
-rwxr-xr-xbin/lines2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/lines b/bin/lines
index b2558b8..2f0bf46 100755
--- a/bin/lines
+++ b/bin/lines
@@ -73,7 +73,7 @@ START="${1:-}"
if [ -z "${2:-}" ]; then
END=1
else
- END=$(($2 - $START + 1))
+ END=$(($2 - START + 1))
fi
eval "$(assert-arg "$START" 'START')"