3 ms·
So your 10 lines of bash use a bunch of other programs to do almost all the work, right? So what you need is a good language that lets you concisely express wa
by Hizonner 5y ago
So your 10 lines of bash use a bunch of other programs to do almost all the work, right?
So what you need is a good language that lets you concisely express ways of calling out to other programs. Not necessarily a language that's backward-compatible with whatever seemed like a good idea for a CLI in 1979.
- cushychicken 5y agoNot even a bunch. It's calling a scraper written in Python, date to add some timestamps, git to add new db entries and push to version control, and touch to reload the webapp. All that in... (goes off to wc -l the script) ...twenty lines of bash, a third of which are comments. > language that lets you concisely express ways of calling out to other programs Seems like bash meets those requirements to me, dawg. /shrug
- Hizonner 5y ago... but you cut off the word "good"... :-)
- cushychicken 5y ago"Good enough" is good in my book, and bash is good enough for me. Still wish someone would give me an idea of what "large" means in bash scripts.
- HKH2 5y agoCan you recommend any modern glue languages with the following attributes? - concise (another operator instead of '|' is fine, but no extra parentheses, quotes etc.) - performant (at least as fast as Bash) - standalone (extensions discouraged)