libut61 - template

Syntax

The template is a plain text string. Most characters are literals that are simply printed. The backslash character is interpreted together with the character that follows it: the usual backslash sequences such as \n and \t work, but it can also be used to ensure literal (e.g. \$).

Variables

When the template contains a $(var) sequence, it is a variable and is substituted with a field from the current data packet.