On Tue, Dec 31, 2019 at 02:02:47PM -0500, Raul Miller wrote:
> tar zxf src.tar.gz
> find . -type f -name '*.*' | sed 's/^.*\.//' | sort | uniq -c | sort
> -n | tail -40

That was fun, I learned about the -n option :) Thanks! 
wise@hup:/usr/src$ find . -type f -name '*.*' | sed 's/^.*\.//' | sort | uniq 
-c | sort -n | tail -40 | sort -nr
17030 c
14060 h
5208 cpp
4043 C
2978 t
1567 out
1516 in
1424 txt
1414 pl
1394 py
1213 3
1011 sh
 968 pm
 955 4
 904 html
 751 S
 597 cc
 545 out++
 542 png
 534 rst
 523 out_ascii
 504 ok
 474 exp
 412 1
 391 td
 334 8
 320 map
 319 inc
 315 gn
 311 md5
 283 texi
 278 hpp
 277 md
 265 pod
 242 out_lint
 229 out_markdown
 211 m4
 207 m
 191 def
 179 f


Reply via email to