diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-11-25 17:25:48 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-11-25 17:25:48 +1300 |
commit | 7021f36c94bc65a6164b559f97d9e8438bdccfd9 (patch) | |
tree | 06140233b7ca684d439c94de591e5ca681205208 /man/man1/cf.1df | |
parent | Merge branches 'freebsd' and 'openbsd' (diff) | |
download | dotfiles-7021f36c94bc65a6164b559f97d9e8438bdccfd9.tar.gz dotfiles-7021f36c94bc65a6164b559f97d9e8438bdccfd9.zip |
Simplify cf(1df) and cfr(1df)
It turns out `-exec foo {} +` is in fact POSIX behaviour (since SUSv3 as
far as I can tell).
Diffstat (limited to 'man/man1/cf.1df')
-rw-r--r-- | man/man1/cf.1df | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/man/man1/cf.1df b/man/man1/cf.1df index 9ced3c20..8434265b 100644 --- a/man/man1/cf.1df +++ b/man/man1/cf.1df @@ -10,17 +10,11 @@ .br .B cf dir1 dir2 -.br -.B cf --o dir1 dir2 .SH DESCRIPTION .B cf counts all the entries in the given directories using glob expansion and prints the count. It defaults to the current directory. .P -Giving the -o option omits printing the directory name (i.e., prints only the -count); this is intended for use in scripts such as cfr(1df). -.P It uses globs to do the counting, so it will give you unexpected results if you're counting a directory that has more than ARG_MAX entries in it. You'll have to resort to find(1) loops in that case. |