Similar to edit_history, except that the editor is not invoked, and the commands are simply executed as they appear in the history list.
edit_history