GNU Info

Info Node: (sed.info)Programming Commands

(sed.info)Programming Commands


Prev: Other Commands Up: sed Programs
Enter node , (file) or (file)node

Commands for die-hard SED programmers
=====================================

   In most cases, use of these commands indicates that you are probably
better off programming in something like 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 the `b' and `t' 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 `t' branch was taken.  The
     LABEL may be omitted, in which case the next cycle is started.


automatically generated by info2www version 1.2.2.9