I have an issue that was answered here awk - Print all lines containing the Max value found in the initial analysis, but that now needs to be adapted to work when there is U+2500 unicode character between the lines.
The problem is as follows below, I have a new entry file as below:
0.0008 6
────────────
9.0 10
────────────
9.0 19
────────────
0.7 33
If I try to find the maximum value using the answers to awk - Print all lines containing the Max value found in the initial analysis, the output is always being as shown below:
──────
──────
──────
This is not the expected exit, But I should get something like:
9.0 10
9.0 19
Note: This issue was created so as not to compromise the choice of the solution marked as "resolved" in the awk - Print all lines containing the Max value found in the initial analysis.