7 echo "namespace $3 {" > $1 || exit
8 echo "\tstatic partial class Res {" >> $1 || exit
9 sed -e 's/^;.*//' -e 's/doesn..t/doesn''t/' -e 's/`echo "\0222"`/''/' -e 's/\"/\"\"/g' -e 's/^\([_0-9a-ZA-Z]*\)=\(.*\)/public const string \1 = @"\2";/' $2 >> $1 || exit
10 echo "}" >> $1 || exit
11 echo "}" >> $1 || exit