grep下令

grep下令

grep命令

本帖最后由 ch_jason 于 2012-11-29 17:20:17 编辑
怎么查找编译出的.o对应的.c文件中的字符?
比如:在/driver/media/video下编译出的camdrv.o对应的camdrv.c文件中查找某个字符?

误解你的意思了,

for file in `find ./ -name “*.o”`; do echo $file 

 sed -e ‘s/.o/.c/’ 

 xargs grep “xxxx”; done

grep下令

相关文章:

你感兴趣的文章:

标签云: