News for hackers. Stuff that matters.
Re:If you use GNU grep on text files, use the -a (--text) op... by arendtio on Tuesday April 21, 2020 @03:22PM (#22938427)
Thank you :-)

Interesting, especially the part about the LINE_MAX. Even though it kinda makes sense, I would never have thought that having a very long line makes a file a non-text file when all characters are 'normal' characters.

Re:If you use GNU grep on text files, use the -a (--text) op... by bawolff on Tuesday April 21, 2020 @08:05PM (#22940647)
Id kind of like that. Grepping in a directory also containing minified js (with ten thousand character long lines) is a pain