blob: db120649680683813cdd8822e42f94594d3ab614 [file] [log] [blame]
Cullen Jennings235513a2005-09-21 22:51:36 +00001#!/bin/sh
2#
3# usage: undos <file>
4#
5# strips CRs from a file - useful when moving DOS-created files
6# onto UN*X machines
7
8cat $1 | tr -d "\r" > $1.tmp
9mv $1.tmp $1
10