how to edit the bash shell?

Hello friends,
I want to add some features to the bash shell.I logged in as the root.Even then could not view the source code of bash shell in RH 9,Fedora 8.It is in encrypted form.Can you please tell me how to include my code into bash shell.
Please give me a sample code so that I can understand better.....

Bash source code may be found here:

Index of /pub/gnu/bash

Latest release:

Hello neo,
I have downloaded bash from the link you gave me.
What I wanted to see is how does "bash" give the command that we typed when we hit the "up arrow" but other shells do not show the commands that we typed previously.....
Can you please tell me how did they log them ????

Bash uses the readline library for line input handling. Other shells might use different methods (ksh, for example, can be configured to behave like vi, using hjkl instead of the arrow keys)