Leo,
They are plain text files. They just don't have the txt extension. If you want to copy and paste you should restrict
yourself to the *.mac files. They are for that purpose. Also I found a problem with this code right after posting it.
I forgot to account for products of unit_step and diracdelta in the same expression. That is my bad luck at work.
Rich