Antonio Diaz Diaz wrote:
Note that empty option-arguments are ambiguous. See item 2a of section '12.1 Utility Argument Syntax':
Now that the ambiguity has been solved[1], the question remains of whether accepting an empty prompt string is useful or is just an indirect way of disabling the P command.
The POSIX description of the prompt command states that "The P command shall cause ed to prompt", but "prompting" with the empty string is not prompting.
[1] https://austingroupbugs.net/view.php?id=1833 Best regards, Antonio.