Hi all
I am facing a problem with redirection. Its somewhat related to parsing.
I am following the following steps.
- take the command and tokenize it.
- if redirection is there then give it to redirection unit
- if pipe is there give it to piping unit.
- do until the command ends
Could you please tell me are these steps right as I am a new guy. Please tell me how Shell do the parsing of a command.
I am doing in C language.