aboutsummaryrefslogtreecommitdiff
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
parent5036c091c1b23bf0cfd549b2004ad030e8c2cd43 (diff)
downloaddotfiles-fdf119c319f125db00b5fb8a2fd6591c11ace74e.tar.gz
Correct printf pattern in finc(1df)
Results were wildly wrong!
-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