Search results

  1. H

    Ask for help, format Unicode text file

    Problem solved! $ awk -f formatting.awk sample.txt not ___ easy _____________, but for... $ more sample.txt not fo▲r easy under▲standing, but for... $ more formatting.awk { for (i = 1; i <= NF; i++) if ($i ~ /▲/) { gsub(/▲/, "", $i) gsub(/\w/, "_", $i)...
  2. H

    Ask for help, format Unicode text file

    I need a command line that can complete the formatting work. I've heard that using shell and awk, can format a lot of text.
  3. H

    Ask for help, format Unicode text file

    It's not character set conversion, it's formatted according to requirements.
  4. H

    Ask for help, format Unicode text file

    For example, there is a Unicode text file that contains: not for easy understanding, but for... I manually insert a glyph: not fo▲r easy under▲standing, but for... It is required to be formatted in a program, and the output is as follows: not ___ easy _____________, but for... That is, the...
Top