#!/bin/bash
sed -i "s/return/SAMPLE_PRT(\"\");\n\treturn/g" `grep return -rl ./hisi/hisi.c`
将hisi/hisi.c 文件中的
return
替换成
SAMPLE_PRT("");
return
#!/bin/bash
sed -i "s/return/SAMPLE_PRT(\"\");\n\treturn/g" `grep return -rl ./hisi/hisi.c`
将hisi/hisi.c 文件中的
return
替换成
SAMPLE_PRT("");
return