#!/usr/bin/env bash

for file in $*
do
   cp $file /tmp/mac2unix.$file.$$
   cat /tmp/mac2unix.$file.$$ | tr '\015' '\012' > $file
done
