When scanning input, sometimes a large block of data can be ignored. The
do skip action offers an efficient way of skipping such blocks to reach the data of interest.
do skip action can be used in three contexts, with somewhat different effects:
do scanaction or
repeat scanaction, the
do skipaction continues scanning input from the point at which it last stopped.
translaterule, only the input in the current "chunk" of data content can be skipped. A
do skipaction cannot skip more input than a
translate any+would match.
do skipaction scans the main input usually examined by
findrules. Such actions can be used to match the first part of a file. It is meaningless to do a
do skipon a
find-endrule (unless it is done within another scanning action) as there is no more input to be skipped.