mirror of
https://github.com/ossrs/srs.git
synced 2025-02-13 03:41:55 +00:00
10 lines
167 B
Bash
Executable file
10 lines
167 B
Bash
Executable file
#!/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
|
|
|