Regex does not work, but it should.
I'm trying to do some regex matching from a file, however, it works sometimes but sometimes not. I have a reason to believe that it has to do with the locale.
Code:
$ file test.txt
test.txt: ASCII text
$ file original_file.txt: ASCII English text, with CRLF line terminators
It matches anything that is in test.txt, which is info I've copied straight out of original_file.txt with ctrl-c ctrl-v.
How do I get original_file.txt to not be "ASCII English text, with CRLF line terminators".
Keep in mind that the files are huge, and many, so copying and pasting every line is not really optimized. We're talking about 70gb of data.
Thank you for your input!