Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@xaitax
xaitax / gist:8689191
Created January 29, 2014 14:31
Amount of swear words in current stable/longterm Linux kernels? Here you go! :)
xaitax@w00t:~/usr/src$ for i in $(ls -d */); do egrep -iro '(fuck|shit|crap|bastard)' ${i%%/} | wc -l | xargs echo "Total matches in ${i%%/}:"; done
Total matches in linux-2.6.32.61: 398
Total matches in linux-2.6.34.14: 454
Total matches in linux-3.10.28: 392
Total matches in linux-3.11.10: 404
Total matches in linux-3.12.9: 404
Total matches in linux-3.13.1: 418
Total matches in linux-3.2.54: 388
Total matches in linux-3.4.78: 381