Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
srtp
/
386ce4d9144fc190797f4e43a31aeaf76ca2e373
/
.
/
undos.sh
blob: db120649680683813cdd8822e42f94594d3ab614 [
file
] [
log
] [
blame
]
#!/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