join show output into a string