ed.1p
The following operand shall be supported: file If the file argument is given, ed shall simulate an e command on the file named by the pathname, file, before accepting commands from the standard input.
file If the file argument is given, ed shall simulate an e command on the file named by the pathname, file, before accepting commands from the standard input.
e