Mitsuru Furukawa <furu(_at_)009(_dot_)com> wrote:
Mitsuru> I want to extract header part and sed it and put into $HEAD.
Mitsuru> So I wrote:
Mitsuru>
Mitsuru> :0hc
Mitsuru> HEAD=`$FORMAIL -X "" |sed -e 's/</\</g'`
Mitsuru>
Mitsuru> The log shows sed is working as expected, but $HEAD is empty.
Mitsuru> So, I tried following recipe.
Mitsuru>
Mitsuru> :0hc
Mitsuru> HEAD=|$FORMAIL -X "" |sed -e 's/</\</g'
Mitsuru> $HEAD
Mitsuru>
Mitsuru> It seems to be working, but I don't feel comfortable:-<
Mitsuru> Please tell me the right way.
Mitsuru> Or is it a right way?
Answering to myself> just get rid of $HEAD.
Sorry for the bandwidth.
_/_/_/ Mitsuru FURUKAWA _/_/_/
_/_/_/ Tokyo, Japan _/_/_/
_/_/_/ mailto:furu(_at_)009(_dot_)com _/_/_/
_/_/_/ http://www.009.com/furu/ _/_/_/