summaryrefslogtreecommitdiff
path: root/srtp/undos.sh
diff options
context:
space:
mode:
authorErwin Nindl <nine@wirdorange.org>2007-06-22 13:59:20 +0000
committerErwin Nindl <nine@wirdorange.org>2007-06-22 13:59:20 +0000
commit0275479cb56c7f562f3513fef66c83fc44d1d8c9 (patch)
treef6fbb703cebf62d18b05e2a5e7591ac08c5b6702 /srtp/undos.sh
parentsatp internet draft 00 final ietf version (diff)
added libsrtp to svn
Diffstat (limited to 'srtp/undos.sh')
-rwxr-xr-xsrtp/undos.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/srtp/undos.sh b/srtp/undos.sh
new file mode 100755
index 0000000..db12064
--- /dev/null
+++ b/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
+