3 ms·If you need to follow these rules your script probably shouldn’t be written as a shell script.by midasuni 4y agoIf you need to follow these rules your script probably shouldn’t be written as a shell script.IshKebab 4y agoHa yeah someone should make a single lint "Your script is over 100 lines. You should rewrite it in a sane language!"iso1631 4y agoStart every script with the boilerplate #!/bin/bash if [[ `wc -l $0|cut -f 1 -d ' '` -gt 100 ]] then echo "No, this is too long!" exit fi