1#! /usr/bin/sed -f 2# 3# Each line of the form ^... .* contains the code for a language. 4# The categorization in column 60 should be a space, denoting a living language, 5# or an U. 6# The speakers number in columns 62..69 should be at least a million. 7# 8/^... ......................................................[ U]..[^ ]/ { 9 h 10 s/^... \(.*[^ ]\) .*$/\1./ 11 s/��/@,{c}/g 12 s/��/'/g 13 x 14 s/^\(...\).*/@item \1/ 15 G 16 p 17} 18# 19# delete the rest 20# 21d 22