> After some thinking, I just used the most simple way: rely on sed
> and use line numbers. It's not that UKS-HLaTeX.sfd is constantly
> changing anyway.
Actually, I dislike this. Why don't you use the comments
# Hangul.sfd
# Symbol.sfd
# Hanja.sfd
to separate the blocks? This would be more robust.
echo "# $(sfdfile_hangul)" > latex-cjk/$(sfdfile_hangul)
sed -e '1d' \
-e '/^# Symbol/,/^# eof/c\
# eof' \
latex-cjk/$(sfdfile_hangul_symbol_hanja) >>
latex-cjk/$(sfdfile_hangul)
echo "# $(sfdfile_hangul_symbol)" > latex-cjk/$(sfdfile_hangul_symbol)
sed -e '1d' \
-e '/^# Hanja/,/^# eof/c\
# eof' \
latex-cjk/$(sfdfile_hangul_symbol_hanja) >>
latex-cjk/$(sfdfile_hangul_symbol)
echo "# $(sfdfile_hangul_hanja)" > latex-cjk/$(sfdfile_hangul_hanja)
sed -e '1d'
-e '/^# Symbol/,/^# Hanja/c\
# Hanja.sfd' \
latex-cjk/$(sfdfile_hangul_symbol_hanja) >>
latex-cjk/$(sfdfile_hangul_hanja)
Werner
_______________________________________________
Cjk maillist - [email protected]
http://lists.ffii.org/mailman/listinfo/cjk