4 ms·
For me, the niceties are in the built in functions[0]. Commands to manipulate paths(!!), get cpu counts, mess with environment variables, string processing, has
by 3eb7988a1663 2y ago
For me, the niceties are in the built in functions[0]. Commands to manipulate paths(!!), get cpu counts, mess with environment variables, string processing, hashing, etc. All the gyrations a more sophisticated script is going to eventually require. Instead of having to hack on it in shell, you get cross-platform utilities which are not going to blow up because of something as wild as a space or quote mark.
[0] https://just.systems/man/en/functions.html https://just.systems/man/en/functions.html
- richie_adler 2y agoMy favorite feature is the ability to decorate the recipe name with the OS and then write relevant code for each recipe that does the same in each OS.
- alsetmusic 2y agoThis best explains what I must be missing. Saying, “shell scripts are bad,” doesn’t tell me anything. Thanks for giving me a concept to explore. I’ll have another look with this in mind.
- udev4096 2y agoNah. This looks nothing more than a wrapper for bash scripts. I can easily write helper scripts which does exactly what you described above. I don't understand the need of using a whole different tooling when I can run scripts natively on my machine(s)
- nightowl_games 2y agoBash scripts need wrappers because they suck so hard. You can do it all in bash, yes, but it's very conceivable this "just" thing actually provides real value.