Separate commands and output