Editing command with readline