ed.1p
The standard input shall be a text file consisting of commands, as described in the EXTENDED DESCRIPTION section.