aboutsummaryrefslogtreecommitdiff
path: root/bin/dub.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/dub.sh')
-rw-r--r--bin/dub.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/dub.sh b/bin/dub.sh
index e3d16709..7556241f 100644
--- a/bin/dub.sh
+++ b/bin/dub.sh
@@ -9,9 +9,9 @@ dir=${1:-.} lim=${2:-10}
# Enter the target dir or bail
cd -- "$dir" || exit
-# Some find(1) devilry to deal with newlines as safely as possible. The idea is
-# not even to touch them, and warn about their presence; better the results are
-# wrong than malformed
+# Some find(1) devilry to deal with newlines as safely as possible. The idea
+# is not even to touch them, and warn about their presence; better the results
+# are wrong than malformed
nl=$(printf '\n/')
find . ! -name . -prune \( \
-name '*'"${nl%/}"'*' \