From: Werner LEMBERG <[EMAIL PROTECTED]>

> > 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.

True.  I'm still learning sed, mostly from
http://www.grymoire.com/Unix/Sed.html, but I didn't reach the "c" part
of the manual yet. =)


>       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)

Thanks.  I'll implement it.



Danai SAE-HAN
韓達耐

-- 
題目:《塞上》
作者:柳開(946-999)

鳴[骨交]直上一千尺,天靜無風聲更干。
碧眼胡兒三百騎,盡提金勒向云看。

_______________________________________________
Cjk maillist  -  [email protected]
http://lists.ffii.org/mailman/listinfo/cjk

Reply via email to