3 ms·
I was so disappointed that they chose Ruby. I would have been impressed if they had chosen bare C and still manage to build it under 35 minutes.
by Fiahil 9y ago
I was so disappointed that they chose Ruby. I would have been impressed if they had chosen bare C and still manage to build it under 35 minutes.
- woodrowbarlow 9y agostephen brennan wrote a great article [1] on how to write a shell in C. it's a little more simply than DAS' implementation, but it's a fantastic read. [1] https://brennan.io/2015/01/16/write-a-shell-in-c/ https://brennan.io/2015/01/16/write-a-shell-in-c/
- torstenvl 9y agoFor my system programming class we had to write a Unix shell in C. I procrastinated and wrote the whole thing in one 38-hour caffeine-fueled sprint on a 32-bit SPARC SunStation. I don't think it supported pipes but it did support input/output redirection and ANDing of commands. Not my best product, but some of my best work.