command line filter which inverts every other line of its input