history -p arg [arg ...]
Perform history substitution on the following args and display the result on the standard output.
What does 'history substitution' mean here? Can you provide an example of its use?
I understand command line history substitution, and already tried things like this:
history -p "!23:1"
But this is not dependent on -p, as
xx "!23:1" does the same thing.