I've been bitten by a linux bug and now want to develop a new shell of mine. I think I will modify the bash shell to begin with and learn how stuff works.
If someone can give me some pointers about how to take the first few steps, it would be great.
1) I have downloaded the bash 4, source code. Things look a little daunting, I am not an uber lex/yacc/C hacker.
2) I want to develop a shell/modify the bash shell, such that I can specify a command/input that must be typed in the shell for it to start working.
an example: say I made a shell called mystupidshell, and configured my system such that whenever someone logs in, thats the default shell. I want them to type in their name at the prompt first and then type in the commands they want to use like ls, cd.. if they don't type in their name and instead type in ls etc.. they should be shown a msg saying whats your name nd then move on to let them type in various commands.
To do this where can I start in the bash code to analyze and make changes. Should I look at shell.c?
Any pointers are greatly appreciated.