aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-02 17:36:11 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-02 17:36:11 +1200
commita4761f8f348cd55a94a7cd3b70a6153820831fed (patch)
tree432258d51e66b9d04286aee17851a98a99ebe249
parentRestore -f test rather than -e test (diff)
downloaddotfiles-a4761f8f348cd55a94a7cd3b70a6153820831fed.tar.gz
dotfiles-a4761f8f348cd55a94a7cd3b70a6153820831fed.zip
Remove -b option from du(1) call in dub(1)
Not POSIX, and not too important
-rwxr-xr-xbin/dub2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/dub b/bin/dub
index 5c2161f1..97cc0d3f 100755
--- a/bin/dub
+++ b/bin/dub
@@ -4,6 +4,6 @@ dir=$1 lines=${2:-10}
cd -- "$dir" || exit
set -- .* *
shift 2
-du -bs -- "$@" |
+du -s -- "$@" |
sort -k1 -nr |
sed "$lines"q