|
From: | Antonio Diaz Diaz |
Subject: | Re: [Bug-ed] git related bug when using ed as $EDITOR on OS X Mavericks & Yosemite |
Date: | Sat, 20 Dec 2014 21:19:47 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.11) Gecko/20050905 |
Hello Steven, Steven Terpe wrote:
# Whoops! I made a mistake! [...] error: There was a problem with the editor '/Users/sterpe/bin/ed'.
I think the '--loose-exit-status' option was added just to solve this kind of problem:
-l --loose-exit-statusDo not exit with bad status if a command happens to "fail" (for example if a substitution command finds nothing to replace). This can be useful when ed is invoked as the editor for crontab.
Best regards, Antonio.
[Prev in Thread] | Current Thread | [Next in Thread] |