Compter le nombre de lignes d’un programme qui dépassent une certaine taille
Usage :
$ grep -r '.\{79\}' *.py | wc -l
$ rg .{79} -t py | wc -l
It may help to decide which limit you want to set.
Results for a 3397 lines project (with a wanted limit at 96) :
79 -> 283 80 -> 256 85 -> 147 88 -> 84 90 -> 55 92 -> 26 95 -> 7 96 -> 4 98 -> 1
To get the total number of lines I used :
$ wc -l *.py