Pretty-print Meal-Master recipes to HTML or .RTF format
Usage: awk -f mmhtml.awk recipe.html
Usage: awk -f mmrtf.awk recipe.rtf
Only works with single-column Meal-Master format
RTF uses the ANSI character set aka Windows-1252.
To convert a recipe from UTF-8 on DOS or Linux:
DOS:
C:\> copy recipe.mmf recipe.bak
C:\> utf8tocp.exe 1252 recipe.mmf
Linux:
$ cp recipe.mmf recipe.bak
$ iconv -f UTF-8 -t WINDOWS-1252 recipe.mmf
I tested this script in gawk and mawk.
From: