#!/bin/sh
while IFS='	' read -r in out; do
	if [ -z "$out" ]; then
		out="$in.out.$$"
	fi
	<"$in" "$@" >"$out"
	echo $out
done
