Debian’ Lintian automatically checks for rule violations (e.g., “‘bashism’” in /bin/sh”).  Nice.