Piping output from multiple programs