"be consistent" | |
PerlMonks |
Re^3: Compare and group unmatched records from 2 CSV files togetherby Laurent_R (Canon) |
on Jun 24, 2014 at 22:01 UTC ( [id://1091105]=note: print w/replies, xml ) | Need Help?? |
Or this smells like a file prepared under Windows and used under Linux or Unix.
If this is the case, just remove the CR (carriage returns, or \r) characters from your file before processing. One possible command to strip a file from these noisy Windows files under your shell:
This removes the Windows CR characters from the file and saves the original fila as my_file.txt.bak (just in case something goes wrong).
In Section
Seekers of Perl Wisdom
|
|