diff options
Diffstat (limited to 'third_party/srtp/undos.sh')
-rw-r--r-- | third_party/srtp/undos.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/third_party/srtp/undos.sh b/third_party/srtp/undos.sh new file mode 100644 index 00000000..db120649 --- /dev/null +++ b/third_party/srtp/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 + |