bug-ed
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ed -p '' errors, but shouldn't


From: Antonio Diaz Diaz
Subject: Re: ed -p '' errors, but shouldn't
Date: Thu, 13 Jun 2024 20:08:05 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]