makros/readme

13 lines
606 B
Plaintext

#makro TEXT=random text
makros is a simple macro tool, in a similar vein to the C preprocessor. However,
in addition to storing TEXT in macros, it supports storing shell command output
in them as well to allow for more flexibility. This readme file is an example of
a raw file you can feed into makros. Try compiling the program by running
`make' and run the command `./makros readme' to see how it works.
#makro DATE@date +%s
This readme was compiled at DATE.
We have some *special* macros available, which give us some file reflection:
File last changed FILE_LAST_CHANGED.
This file is named FILE_NAME.