I'm coding a shell as school project. In builtins there is a "history" command and some options, like '-c' for cleaning or '-s' for adding args on the history. One of the option is '-p' and the man say :
-p Perform history substitution on the args and display the result on the standard output, without storing the results in the history list.
I really don't understand what this option do. When i try it, it show the args and do nothing more.
Does someone know ?