split commands into lines