mercredi 4 février 2015

One Script file or Multiple Scripe Files


I have a moderately long(for me at least) bash script file that that maintains a list of LAN users and the bandwidth each one uses. It is 199 lines with 11 functions and is already calling 3 different files. At most it calls 3 functions at least 1 every 5 minutes.


Should I separate each function into it's own file, or is this still small enough to run in 1 file?





Aucun commentaire:

Enregistrer un commentaire