Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
libsrtp2
/
dcee5c6e78bed4110170b855e2196bbbb3f8b030
/
.
/
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