cmd: more shipping off to utils, should actually handle newlines properly again now