diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-09-08 00:27:07 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-09-08 00:27:07 +1200 |
commit | fdf119c319f125db00b5fb8a2fd6591c11ace74e (patch) | |
tree | 7a1cc1307ec7c68ec7034aa0969798fc8814e6e5 /bin/finc.sh | |
parent | Add an issue (diff) | |
download | dotfiles-fdf119c319f125db00b5fb8a2fd6591c11ace74e.tar.gz dotfiles-fdf119c319f125db00b5fb8a2fd6591c11ace74e.zip |
Correct printf pattern in finc(1df)
Results were wildly wrong!
Diffstat (limited to 'bin/finc.sh')
-rw-r--r-- | bin/finc.sh | 2 |
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 |