preprocess: honour -w flag