bug-ed
[Top][All Lists]
Advanced

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

Re: [Bug-ed] Ed scripts failing in versions after ~1.10


From: Antonio Diaz Diaz
Subject: Re: [Bug-ed] Ed scripts failing in versions after ~1.10
Date: Wed, 23 May 2018 00:24:03 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14

David Given wrote:
Adding -l does produce an exit status of 0 --- but will this still cause
genuine failures if, for example, there's a syntax error in the script?

Sadly the current implementation of '-l' is pretty simple. It will ignore about any error:

$ ed -v ; echo $?
b
?
Unknown command
q
1

$ ed -v -l ; echo $?
b
?
Unknown command
q
0



reply via email to

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