#!/bin/sh
HEDITOR=hvi        # put your favorite Hangul editor here(e.g. hanemacs,mule)
cmd=`basename $0`
new=/tmp/$$.`basename $1`
trap 'rm -f /tmp/$$.*; exit 1' 1 2 15
hmconv -u  $1 $new
$HEDITOR $new
if test -r $new ;
then 
   cp $new $1
   /bin/rm $new
fi
