Ask for help, format Unicode text file
by heiyubaiclub from LinuxQuestions.org on (#4XQW2)
For example, there is a Unicode text file that contains:
not for easy understanding, but for...
I manually insert a glyph:
not foa-^2r easy undera-^2standing, but for...
It is required to be formatted in a program, and the output is as follows:
not ___ easy _____________, but for...
That is, the 3-letter for, becomes 3 underscores; the 13-letter understanding, becomes 13 underscores.
""


not for easy understanding, but for...
I manually insert a glyph:
not foa-^2r easy undera-^2standing, but for...
It is required to be formatted in a program, and the output is as follows:
not ___ easy _____________, but for...
That is, the 3-letter for, becomes 3 underscores; the 13-letter understanding, becomes 13 underscores.
""