#!/bin/bash if [ $# -ne 1 ]; then echo "Strip CR - removes from files." echo "usage: $? " exit 0 fi tmp="`cat $1 | tr -d ' '`" echo "$tmp" >$1