#!/bin/sh -f

for f in $* ; do
  name=`basename $f`
  echo "Convert $f to $name" 1>&2
  tr '\r' '\n' <$f >t$$; mv t$$ $name
done

