in reply to Re: Counting the Extensions of the Directory
in thread Counting the Extensions of the Directory
Ok ! Yes, you are certain, with \w+ is very better.
Mago
mago@rio.pm.org
Thanks;perl -e 'while(<*>){if(-f && /\.(\w+)$/){$e{$1}++}}print "$_ -> $e{$_} +\n" for keys %e'
Mago
mago@rio.pm.org
|
---|
In Section
Code Catacombs