git has bisect run to figure out which revision an error was introduced.I have a big file (100GB) and at least one of the lines is bad, but the program I have to check it with will not tell me which line.The lines are records, so I can write a binary search using head and tail and /2 (passing the first half to the program, and if no errors, the second half), and based on that splitting the one half again.But does an automated tool already exist that can do this without my intervention (similar to git bisect run)?
Binary search for a failing line
shell script;text processing;search;split