Gitiles
Code Review
Sign In
review.jami.net
/
jami-client-android
/
3874e557ab7b54f78566363f6deeb3d08933f5dd
/
.
/
jni
/
pjproject-android
/
.svn
/
pristine
/
8a
/
8ae1f435898c5083a5a3ad8bf13e3afc6f259511.svn-base
blob: db120649680683813cdd8822e42f94594d3ab614 [
file
] [
log
] [
blame
]
Tristan Matthews
0a329cc
2013-07-17 13:20:14 -0400
[
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