Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Did 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.


Does the scripting part utilize ready made libraries or is it implemented from scratch?


By 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.


The scripting part is mostly just opening a file instead of reading from stdin...

You don't need any library for that.


Just did a similar project this semester, University of Nebraska


UChicago?

Although I know many places use this project.


Nope, Western Washington University




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: