3 ms·
Building a shell from scratch (or some pre-made starting point) seems to be an exercise in a lot of operating systems courses and also in Tanenbaum's book on Op
by artsi0m 3y ago
Building a shell from scratch (or some pre-made starting point) seems to be an exercise in a lot of operating systems courses and also in Tanenbaum's book on Operating Systems.
There is this guide, divided in parts:
https://github.com/tokenrove/build-your-own-shell https://github.com/tokenrove/build-your-own-shell
I think you right, and implementing core utils is a nice exercise in system programming.
Maybe, it even can be used to create some automated tasks with tests on codewars.
Once upon a time I implemented expr(1) but it was too simple, without regex part.