Using the -w option to write to stdout