aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-06-10 15:34:07 +1200
committerTom Ryder <tom@sanctum.geek.nz>2017-06-10 15:34:07 +1200
commit87f3cf69ae310bdf83e262f5212847b3c764ced7 (patch)
tree7227d1e0892c96a0e3963d241a1c63bd39fc2f64
parentMake dub(1df) smarter, add a caveat (diff)
downloaddotfiles-87f3cf69ae310bdf83e262f5212847b3c764ced7.tar.gz
dotfiles-87f3cf69ae310bdf83e262f5212847b3c764ced7.zip
Force integer for dub(1df) limit
-rw-r--r--bin/dub.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/dub.sh b/bin/dub.sh
index 41ef88d3..c30749af 100644
--- a/bin/dub.sh
+++ b/bin/dub.sh
@@ -24,4 +24,4 @@ find . ! -name . -prune \( \
sort -k1,1nr |
# Limit the output to the given number of lines
-sed "$lines"q
+sed "$((lines))"q