I was making a shell of my own. Now, there is this nice option in readline library to store the command history. Its working but with a problem. When the commands issued are of