As far as I know there are tools for dead code detection in C/C++, Python etc. Is there such tool for shell scripts ?
To be more specific. I have a huge set of legacy bash scripts. They’ve been modified by lots of people, so there are tons of unused lines. Manual checking is not an option.