ed: fix cmd e/E

Ensure we have a filename before taking further action.
1 file changed