send console output as lines