Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
libsrtp2
/
6b71fb947b2182c74a25b2fbe27b862bcceb776c
/
.
/
undos.sh
blob: db120649680683813cdd8822e42f94594d3ab614 [
file
] [
log
] [
blame
]
Cullen Jennings
235513a
2005-09-21 22:51:36 +0000
[
diff
] [
blame
]
1
#!/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
8
cat $1
|
tr
-
d
"\r"
>
$1
.
tmp
9
mv $1
.
tmp $1
10