print([[ local f = false return { version = 3, table_ivd_aj1 = {]]) local f = io.open('IVD_Sequences.txt') local t, maxcid = {}, 0 local s = f:read() while s do if s:match('#') then print('-- ' .. s) elseif s:match('Adobe.Japan.') then local c1,c2,c3 = s:match('(%x+)%s+(%x+);%s+Adobe.Japan.;%s+CID%+(%d+)') c1, c2, c3 = tonumber(c1, 16), tonumber(c2, 16), tonumber(c3) if c2 and c2>=0xE0100 then c2 = c2 - 0xE00FF if maxcid