perl script prints parts of strings in the wrong order

M. Fioretti mfioretti at nexaima.net
Tue Aug 7 05:49:17 UTC 2018


On 2018-08-07 07:37, Olivier wrote:

> A wild guess, but there may be something strange in the input file, 
> like some lines contain a \r.

indeed, that was the case, thanks! See my other "SOLVED" reply.

What I don't understand is why the perl "chomp" function did not remove 
those characters too, together with the \n ones.

I am pretty sure it worked that way, in the past.

Marco

-- 
http://mfioretti.com



More information about the ubuntu-users mailing list