Subject: Re: sed conditional branching
From: Jim Meyering <[email-masked]>
To: Erik Popp <[email-masked]>, [email-masked]
Date: Sun, 10 May 2015 10:16:05 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

tags 20095 notabug
thanks

Davide Brini's analysis at https://debbugs.gnu.org/cgi/bugreport.cgi?bug=20095#8
is correct. "t" works like this:

't LABEL'
     Branch to LABEL only if there has been a successful 's'ubstitution
     since the last input line was read or conditional branch was taken.
     The LABEL may be omitted, in which case the next cycle is started.

yet your script expects it to work differently.

Hence, I'm marking this issue as a non-bug and closing it.
However, you are welcome to reply here; any comments will
be logged at https://bugs.gnu.org/20095.