Miniature Shell - IO Redirection and Pipe line filters

hi,

I was trying to write a miniature shell (ie, command line interpreter) to implement the features like 'IO Redirection' and 'Pipe line fileters'.
Can anyone help me with sample shell sript to implement the above features.

cheers
supong

Hi,

It might be better to post already what you have and mark your questions. I do not believe this is something we write daily. For me it looks more a little homework job.

Regs David

I doesn't make sense to implement a shell in a shell script. What is the point of that? But just read in a command line and feed it into eval.