Yeah, that's a good point. It's less about LOC than complexity (data structures, complicated string parsing, handling binary data, etc). And that's actually the advice I follow myself.
Some longish Bash scripts are very maintainable and reliable, because they're still quite regular and simple.
Some longish Bash scripts are very maintainable and reliable, because they're still quite regular and simple.