aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-11-25 20:10:54 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-11-25 20:10:54 +1300
commite8b95f88c45f9c915d30f09bf337c47f14860e22 (patch)
treea68c8737c2efdc5f2dcbab4d47eb692331cb81d7 /man
parentSimplify cf(1df) with a find(1) command (diff)
downloaddotfiles-e8b95f88c45f9c915d30f09bf337c47f14860e22.tar.gz
dotfiles-e8b95f88c45f9c915d30f09bf337c47f14860e22.zip
Add finc(1df)
Diffstat (limited to 'man')
-rw-r--r--man/man1/finc.1df22
1 files changed, 22 insertions, 0 deletions
diff --git a/man/man1/finc.1df b/man/man1/finc.1df
new file mode 100644
index 00000000..19f895ac
--- /dev/null
+++ b/man/man1/finc.1df
@@ -0,0 +1,22 @@
+.TH FINC 1df "November 2016" "Manual page for finc"
+.SH NAME
+.B finc
+\- accurately count results from a find(1) search
+.SH SYNOPSIS
+.B finc
+.br
+.B finc
+/path/to/dir
+.br
+.B finc
+/dira /dirb -type f -name 'a*'
+.SH DESCRIPTION
+.B finc
+runs find(1) with the given conditions and accurately counts the number of
+results, handling special cases like newlines in filenames.
+.P
+Don't add your own actions to it (-print, -exec etc) or you'll mess it up.
+.SH SEE ALSO
+cf(1df), cfr(1df)
+.SH AUTHOR
+Tom Ryder <tom@sanctum.geek.nz>