summaryrefslogtreecommitdiff
path: root/third_party/srtp/undos.sh
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2008-01-23 20:17:42 +0000
committerBenny Prijono <bennylp@teluu.com>2008-01-23 20:17:42 +0000
commit78a92f35ea2593b35b1aa1312aeab4999a0811cf (patch)
tree302edf3b1c571fa11a169ae3d74eb7f2d30a523b /third_party/srtp/undos.sh
parent19ab0113d44a93f576eabe71bd966603fc4c81ef (diff)
Ticket #61: imported libsrtp into third_party directory (backported from srtp branch)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1730 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'third_party/srtp/undos.sh')
-rw-r--r--third_party/srtp/undos.sh10
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
+