I have a file with few lines starting with a digit (1-5 only ) followed by a dot (.). Remaining all the lines to be merged with its previous numbered lines. Merging must be done with a space.
It works but with some issues like it's checking just first digit. It should rather check with "dot" as well like "1." "2." .... "5.". Otherwise it considering 11 also as starting field where actually the lines starting with 11 should be merged with previous lines.