#!/bin/sh
#
if [ -d $2 ]; then
   TARGET=$2/`basename $1`
else
   TARGET=$2
fi
nkf -e $1 > $TARGET
chmod 644 $TARGET
touch -r $1 $TARGET
