#!/bin/csh

# simple kanji code converter (jis --> euc)
#   j2e file [,file .....]
#

while($#argv > 0)
	echo "file: " $argv[1]
	nkf -e $argv[1] > tmp.$$
	mv $argv[1] $argv[1].old
	mv tmp.$$ $argv[1]

	shift argv
end
