in reply to Re^2: printing is not printing the full string
in thread printing is not printing the full string
IMO s/\r?\n// is more general as it removes \r only if present (Windows) yet \n everytime (both Windows and Un*x). (No one cares of old MacOS (-; )