fixmingw.sh
来自「一个支持FTP,SFTP的客户端程序」· Shell 代码 · 共 15 行
SH
15 行
#!/bin/bash
if [ "$1" == "" ]
then
echo This script fixes the resource files so that they can be compiled using MinGW.
echo This script awaits a ressource file as a parameter.
elif [ ! -e $1 ]
then
echo Error, input file not found.
else
cat $1 | sed -r -f fixmingw.sed > out.tmp
cat out.tmp | sed -e "s/$/\r/" > $1
rm out.tmp
fi
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?