How it works...

Macros work in a simple way—you write a filter string with the sign $ ahead of every positional parameter. When running the macro, it will accept the parameters in order.