commit | 235513aa13d973d931202dfcca8b47a4a750a5e4 | [log] [tgz] |
---|---|---|
author | Cullen Jennings <fluffy@cisco.com> | Wed Sep 21 22:51:36 2005 +0000 |
committer | Cullen Jennings <fluffy@cisco.com> | Wed Sep 21 22:51:36 2005 +0000 |
tree | f697b2040a9503e957bd0b7299c333706062052c |
Initial revision
diff --git a/undos.sh b/undos.sh new file mode 100755 index 0000000..db12064 --- /dev/null +++ b/undos.sh
@@ -0,0 +1,10 @@ +#!/bin/sh +# +# usage: undos <file> +# +# strips CRs from a file - useful when moving DOS-created files +# onto UN*X machines + +cat $1 | tr -d "\r" > $1.tmp +mv $1.tmp $1 +