Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

How do I tell which command has the longest manual on my system?

$ find /usr/share/man/ -type f -exec ls -S {} + 2>/dev/null | head | while 
  read -r file; do printf "%-40s" "$file"; 
  man "$file" 2>/dev/null | wc -lwm; done | sort -nrk 4
Source by unix.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #How #I #command #longest #manual
ADD COMMENT
Topic
Name
2+1 =