Small macro utility
Go to file
opfez 2992b0e0f9 initial 2022-01-30 11:29:06 +01:00
Makefile initial 2022-01-30 11:29:06 +01:00
makros.c initial 2022-01-30 11:29:06 +01:00
readme initial 2022-01-30 11:29:06 +01:00

readme

#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.