for dir in `find /usr -maxdepth 1 -type d -not -name .\*`; do echo -n "$dir " && find "$dir" -type d | wc -l; done | sort -rnk2 | head -1 | cut -d" " -f1
|   | 2 |  No.2 Revision  | 
for dir in `find /usr -maxdepth 1 -type d -not -name .\*`; do echo -n "$dir " && find "$dir" -type d | wc -l; done | sort -rnk2 | head -1 | cut -d" " -f1
EDIT: Koukám, že jsme si nevšiml to nerekurzivně, tzn tohle řešení je stejně špatně.
 Copyright students of FIT CTU and others, 2014. Content on this site is licensed under a Creative Commons Attribution-ShareAlike 4.0 International license.
 
                
                Copyright students of FIT CTU and others, 2014. Content on this site is licensed under a Creative Commons Attribution-ShareAlike 4.0 International license.