Output multi-line run/sudo commands correctly