DEV Community

[Comment from a deleted post]
Collapse
 
zhu48 profile image
Zuodian Hu

With shell scripts and some simple tools, you can do an a mazing amount of build automation.

As an example, in college, my robotics club had entire software applications that you could build and run on with one shell commands. If you had the parent repository, you run the shell script, and the dependencies get cloned the GitHub, all of them get built, the binaries get put in the right places, and the application is ready to run. The software developers could just hand a Git repository to the Mechanical engineers, and the mechanical engineers use a single shell command to be able to run the latest build of the robot control UI. All because a few people knew a little shell scripting.

 
qm3ster profile image
Mihail Malo

Python can do that. Node.js can do that. A binary can do that.
Why learn a shell scripting language? (Especially an old one, with no structured data types)

 
zhu48 profile image
Zuodian Hu

Because you're giving stuff to mechanical engineers, and they don't have a Javascript engine or a Python interpreter installed.

 
qm3ster profile image
Mihail Malo

And I guess they have to have a bash-compatible shell installed, but their architecture isn't definitely x86_64?

 
zhu48 profile image
Zuodian Hu

And you're right, Python or JS can work better than bash for automatic builds. It's kind of like knowing assembly or HTML. If you know a few really basic things, it can be really useful in a few select cases, but most of the time there may be better tools. And if you're like me, you also just get a kick out of playing with low level stuff.