/test/macro/ok/syntax.txt
Plain Text | 46 lines | 37 code | 9 blank | 0 comment | 0 complexity | 5e09241e31f5d8dc8c8d6bbd9e4da44a MD5 | raw file
Possible License(s): GPL-2.0, GPL-3.0, WTFPL
- BODYINIT
- Syntax: Macro without formatting string
- Date : @DATE@ - @DATE@
- Mtime : @MTIME@ - @MTIME@
- Infile : syntax.t2t - syntax.t2t
- Currentfile : syntax.t2t - syntax.t2t
- Outfile : syntax.txt - syntax.txt
- Syntax: Macro name is case insensitive
- Date : @DATE@
- Mtime : @MTIME@
- Infile : syntax.t2t
- Currentfile : syntax.t2t
- Outfile : syntax.txt
- Syntax: Macro with formatting string
- Date : txt 20 txt
- Mtime : txt 20 txt
- Infile : txt t2t txt
- Currentfile : txt t2t txt
- Outfile : txt txt txt
- Syntax: Leading and trailing spaces are preserved
- Date : ( txt ) - ( 20 )
- Mtime : ( txt ) - ( 20 )
- Infile : ( txt ) - ( t2t )
- Currentfile : ( txt ) - ( t2t )
- Outfile : ( txt ) - ( txt )
- Test: Expansion of the percent char
- Date : % - % - %% - %%
- Mtime : % - % - %% - %%
- Infile : % - % - %% - %%
- Currentfile : % - % - %% - %%
- Outfile : % - % - %% - %%
- Test: Various per line, glued
- Date : 20@DATE@@DATE@
- Mtime : 20@MTIME@@MTIME@
- Infile : t2tsyntax.t2tsyntax.t2t
- Currentfile : t2tsyntax.t2tsyntax.t2t
- Outfile : txtsyntax.txtsyntax.txt