#!/bin/sh
if test $3z = z; then
	echo Usage:
	echo   $0 code_in code_out file [file2 [file3 [...]]]
	echo
	echo 'code_in' and 'code_out' are the abbrevs WITHOUT '-i' and '-o'
	echo 
	echo 'file' may contain wildcards, all of the matching files will be converted
	echo back to their original name.
	echo
	echo If you need other options, edit this file or create a codeconv.bat file
	echo which processes your options.
	exit
fi
bekod=$1
kikod=$2
shift
shift
while test $1z != z; do
	for i in $1; do codeconv -i$bekod -o$kikod $i; done
	shift
done
