#!/bin/bash [ -z $1 ] && { echo "d2u - converts DOS text to Unix."; echo \ "Syntax: d2u (dosfile) unixfile"; exit } cat $1|tr -d '\015'