[FIX] Removing trailing whitespace through regex is far too slow. Use strip().
[ohcount] / lib /
drwxr-xr-x   ..
drwxr-xr-x - gestalt
drwxr-xr-x - licenses
-rw-r--r-- 878 ohcount.rb
drwxr-xr-x - ohcount