unixprep.sh
资源名称:chapter15.rar [点击查看]
上传用户:hjq518
上传日期:2021-12-09
资源大小:5084k
文件大小:1k
源码类别:
Audio
开发平台:
Visual C++
- #!/bin/sh
- which sed || (echo "sed unavailable" 1>&2; exit 1)
- echo "Removing DOS LF chars..."
- for f in l[ed][ne]cod/[si][rn]c/*.[ch] bin/*.cfg
- do
- sed -e "s/ //" < $f >$f.tmp && mv $f.tmp $f
- done
- for f in l[ed][ne]cod/Makefile
- do
- sed -e "s/ //" < $f >$f.tmp && mv $f.tmp $f
- done
- for f in rtpdump/*.cpp rtpdump/*.h rtpdump/Makefile
- do
- sed -e "s/ //" < $f >$f.tmp && mv $f.tmp $f
- done
- for f in rtp_loss/*.cpp rtp_loss/*.h rtp_loss/Makefile
- do
- sed -e "s/ //" < $f >$f.tmp && mv $f.tmp $f
- done
- echo "Done."