3 ms·
My university has a project where you implement a shell in c from scratch with most of the commonly known features of bash -- scripting, file redirection, comma
by foota 10y ago
My university has a project where you implement a shell in c from scratch with most of the commonly known features of bash -- scripting, file redirection, command substitution, the whole nine yards. Needless to say it's a mess by the end.
- ryhamz 10y agoUChicago? Although I know many places use this project.
- foota 10y agoNope, Western Washington University
- codemusings 10y agoDoes the scripting part utilize ready made libraries or is it implemented from scratch?
- palunon 10y agoThe scripting part is mostly just opening a file instead of reading from stdin... You don't need any library for that.
- foota 10y agoBy scripting I mean if, while, and friends (maybe for, I don't remember) It's also from scratch (no libraries). The professor provides an extensive test suite to check your implementation.
- ziroshima 10y agoJust did a similar project this semester, University of Nebraska
- protomyth 10y agoDid that for the OS class in 90/91 at UND. Class was taught using an AT&T 3B2. First non-PC class I had that was not on VMS or an IBM mainframe. Was a very interesting project, and keeping the code clean was a bit of a pain.