cat0 function

if argument is NULL, no line output