Gitiles
Code Review
Sign In
review.jami.net
/
pjproject
/
940d3f625a1090dc19a7dc3b1fbe76ed056f2734
/
.
/
third_party
/
srtp
/
undos.sh
blob: db120649680683813cdd8822e42f94594d3ab614 [
file
] [
log
] [
blame
]
Benny Prijono
8a0ab28
2008-01-23 20:17:42 +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