android13/external/libsrtp2/undos.sh

11 lines
167 B
Bash
Raw Normal View History

2024-06-22 08:45:49 -04:00
#!/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