Finding unmatched braces (brackets)
Recently I was checking for unmatched braces in a big text file with nearly half a million lines (300+ MB). Was there a closing brace for every opening brace?
The text file was called 'beetle' and was actually a tab-separated table with each line divided into 77 fields. What I wanted to do was find any lines in which unmatched braces appeared within fields. Here's the command I used...
|
|
Full Story |
This topic does not have any threads posted yet!
You cannot post until you login.