#include <stdio.h>

main () {
i
PATH and other env variables


 while (1) {


    scan --->  s 

    switch s 

    	case  of control seq:
		.......

	case of shell language keyword
		.......

	default: 
	       search for a file named 's' through the directories listed under "PATH"  --> fid
	       if not found  -->  print "command not found" break;

	       // else ..
	     
	       mypid = getmyid ();

	       pid = fork()   // fork returns child pid into parent, and 0 into the newly created process

	       if (pid==0) replace my memory image with what's in there inside fid  ;  //  i.e. in child 
		


    	



 }

}


