Re:Shell Style Guide
by fjsolwmv on Tuesday May 15, 2018 @09:16PM
(#17079263)
It's been decades since "writing a 1000 line script" was best done in shell, if there ever was a time. Someone with that much experience ought to be a very senior engineer.
[ Parent
| on HN ]
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.