Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # one-liner in bash to list all man pages under the current dir and print the number total at the bottom.
- # this prints to stderr for the filenames and stdout for the total count.
- echo "There are $(cut -d ' ' -f 1 <(wc -l <(tee /dev/stderr < <(find ./man*/ -type f)))) man pages available."
Advertisement
Add Comment
Please, Sign In to add comment