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: jackson
Subject: Re: ed -p '' errors, but shouldn't
Date: Thu, 13 Jun 2024 20:33:37 -0500
User-agent: Cyrus-JMAP/3.11.0-alpha0-515-g87b2bad5a-fm-20240604.001-g87b2bad5

I wrote and posted:

>> Recommendation:  Provide the capability to disable the prompt.

Then I read the damn manual:

'P'
     Toggles the command prompt on and off. Unless a prompt string is
     specified with the command-line option '-p', the command prompt is by
     default turned off. The default prompt string is an asterisk ('*').

So ... if you want no prompt (in other words, a zero length prompt)
 in some scripted invocation of ed, just don't specify the "-p" option.

Problem solved.  It all works as coded, documented and standardized.

-- 
Paul Jackson
  jackson@fastmail.fm



reply via email to

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