aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-09-08 00:27:07 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-09-08 00:27:07 +1200
commitfdf119c319f125db00b5fb8a2fd6591c11ace74e (patch)
tree7a1cc1307ec7c68ec7034aa0969798fc8814e6e5 /bin
parentAdd an issue (diff)
downloaddotfiles-fdf119c319f125db00b5fb8a2fd6591c11ace74e.tar.gz
dotfiles-fdf119c319f125db00b5fb8a2fd6591c11ace74e.zip
Correct printf pattern in finc(1df)
Results were wildly wrong!
Diffstat (limited to 'bin')
-rw-r--r--bin/finc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/finc.sh b/bin/finc.sh
index 2bbb9ae8..840d44d3 100644
--- a/bin/finc.sh
+++ b/bin/finc.sh
@@ -1,2 +1,2 @@
# Count the number of entries from a find(1) condition
-find "${@:-.}" -exec printf .%sx {} + | wc -c
+find "${@:-.}" -exec printf '%.sx' {} + | wc -c