News for hackers. Stuff that matters.
Re:Shell Style Guide by zippitydoodah68 on Wednesday May 16, 2018 @10:25AM (#17082627)
I have shell libraries that generate code via here documents and other templating that are > 500 lines. That is about as far as I reasonably go. Note that these are function (and scope specific variables (with hopefully unique namespaces)) only code bases with copious comments and references to underlying tools.
Re:Shell Style Guide by endtime on Wednesday May 16, 2018 @04:49PM (#17086337)
The script in question was an interface for controlling WiFi (hostapd, wpa_supplicant) in a variety of ways, abstracting across different chipsets.