GmSSL icon indicating copy to clipboard operation
GmSSL copied to clipboard

提供一个命令,改window代码在linux下换行显示 ^M

Open yuanzh78 opened this issue 9 years ago • 4 comments

gmssl目录下

find|grep "\.h"|xargs dos2unix

find|grep "\.c"|xargs dos2unix

dos2unix命令没有的话安装一个,因为看有些代码是windows传到linux下有换行显示问题。

yuanzh78 avatar Apr 20 '17 03:04 yuanzh78

有问题啊,系统把转义符 \弄掉了 应该是 ".h"

yuanzh78 avatar Apr 20 '17 03:04 yuanzh78

有问题啊,系统把转义符 \弄掉了 应该是 "\.h" "\.c"

yuanzh78 avatar Apr 20 '17 03:04 yuanzh78

直接find . -name "*.h" -o -name "*.c"就行了啊,不用先find再grep。

QwertyJack avatar Oct 13 '17 09:10 QwertyJack

Marked as stale issue. Will be closed later if no activity for a while.

github-actions[bot] avatar Oct 11 '20 01:10 github-actions[bot]