Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi all,
i have a term project is due in two weeks. i need to get some directions from you experts.
here are the details:
in the term individual project, we will be writing a subset of bourne shell functionality and call it "myShell". We will be implementing the following functionality according to specification below:1) interpreter for user entered commands
2) file naming meta char support
3) i/o redirection
4) implementatino of few shell commands that step 1 will utilize.interpreter for user entered commands:
broadly, the functionality of the "myShell" will be to execute in infinite loop, once started. The user scenario will be as follows:
a) A % prompt is displayed
b) user enters a command on the prompt and hits return
c) the shell parses the command for any error, and tries to locate the binary using $PATH environment variable
d) the command is either processed successfully or error returned to the standard error stream. the command will be processed in foreground mode only
e) a long running command can be interrupted by hitting Ctrl-C on the terminal.
f) in either case, following step3 a % prompt is displayed
g) the shell can exit ony if user types the command "myExit" on the prompt, or hits Ctrl-Dbasically, i need to create an infinite loop shell that does the following:
=find (opt -s)
=wc (opt -l -w)
=ls (opt -l)
=rm (opt -i -r)thanks for any input

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |