ed.1p
Various editing commands and the prompting feature (see -p) write to standard output, as described in the EXTENDED DESCRIPTION section.
-p