sed: Programming Commands

 
 3.6 Commands for 'sed' gurus
 ============================
 
 In most cases, use of these commands indicates that you are probably
 better off programming in something like 'awk' or Perl.  But
 occasionally one is committed to sticking with 'sed', and these commands
 can enable one to write quite convoluted scripts.
 
 ': LABEL'
      [No addresses allowed.]
 
      Specify the location of LABEL for branch commands.  In all other
      respects, a no-op.
 
 'b LABEL'
      Unconditionally branch to LABEL.  The LABEL may be omitted, in
      which case the next cycle is started.
 
 '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.