The pd command displays any prestored command.
pd
Prestored commands are defined using the p command and are lost each time the Editor returns to TCL (see p command (Editor processor)).
ed bp print.invoices top .pd P0 L22
Editor overview, p command (Editor processor), sl command