Shell-Skript-Prüfung

Findet typische Fehler in Shell-Skripten, ohne den Code auszuführen: nicht quotierte Variablen und Befehlssubstitutionen, veraltete Backticks, cd ohne Fehlerprüfung, cat in einer Pipeline, unquotiertes $@, unbekannter oder fehlender Shebang sowie zugewiesene und nie genutzte Variablen. Jeder Befund nennt Regelcode, Stufe und Zeile sowie eine Zusammenfassung nach Stufen.

Finds typical shell script defects without running the code: unquoted variables and command substitutions, legacy backticks, cd without an error check, cat in a pipeline, unquoted $@, an unknown or missing shebang, and variables that are assigned but never used. Each finding lists the rule code, level and line, plus a summary by level.