I'm working on package that (among other things) writes an external file during compilation. I'd like to provide an option to the package to not write the external file.
I know I can set up a boolean and test for it everywhere in the package the writes take place. But it would be nice to just set the
openout command at the beginning to write to
/dev/null or its equivalent.
Is that possible? I need to keep this package supported on Windows, Mac, and Unix.