News for hackers. Stuff that matters.
Re:Bash 5.0 released by rb808 on Monday January 07, 2019 @11:31PM (#18853158)
From the google Shell Style Guide: "If you are writing a script that is more than 100 lines long, you should probably be writing it in Python instead. "

https://google.github.io/styleguide/shell.xml

Re:Bash 5.0 released by h1d on Tuesday January 08, 2019 @01:08AM (#18853637)
LOC alone doen't mean much. I have a backup script in fish of 400+ lines of code because it tries to dump data out of different sources like MySQL, PGSQL, InfluxDB, /etc files and others. Just use what feels comfortable achieving the task.
Re:Bash 5.0 released by notabee on Tuesday January 08, 2019 @10:51AM (#18856366)
That guide is really useful for making scripts more readable.