souissipro wrote:
> Dear ALL,
>
> I'm C and shell beginner and I should write a sheel that does the
> following:
I'd not start on a shell if you are knew to C.
> - reads an input line from standard input, parses the line into
> commands and arguments, calls the command with the arguments and waits
> for it to terminate.
> - includes i/o redirection, environment variables, parameter and
> command substitution, command line editing and filter management.
>
> I would greatly appreciate if anybody could provide me with a shell
> that has the functionalities mentionned above and that I can start with
> my learning?
Many shells are open-source. Take a look at bash, sh, tcsh etc. They
will all be found in Linux distros, or online online. But it is not the
sort of thing a new C programmer should be looking at.
--
Dave (from the UK)
Please note my email address changes periodically to avoid spam.
It is always of the form:
month-year@southminster-branch-line.org.uk
Hitting reply will work for a few months only - later set it manually.
http://witm.sourceforge.net/ (Web based Mathematica front end)