用户操作
[留言]  [发消息]  [加为好友] 
订阅我的博客
XML聚合    FeedSky
订阅到鲜果
订阅到Google
订阅到抓虾
claider的公告
<div style="border: 1px solid #cccccc; background-color: white; width: 115px; text-align: center; padding: 0 0 10px 0;"><p style="margin: 0"><a href="http://www.business-opportunities.biz/"><img src="http://images.business-opportunities.biz/blogworth/gw.jpg" style="border:0;"></a><br /> <span style="font-size: 11px;">My <a href="http://blog.csdn.net/claider">blog</a> is worth <b>$564.54</b>.</span><br /><span style="font-size: 10px;"><a href="http://www.business-opportunities.biz/projects/how-much-is-your-blog-worth/">How much is your blog worth?</a></span></p><p><a href="http://www.technorati.com/" style="border: 0px;"><img src="http://technorati.com/pix/tech-logo-embed.gif" style="border: 0px;"></a></p></div>
文章分类
多媒体与网络及流媒体
计算机网络
协议大全
我的收藏夹
dotnet_editor的专栏--有手工CPU哦
http://www.catch22.net Just Win32 No MFC
" target="_blank">交换链接
我的MSN Space(RSS)
老罗的世界
存档

原创  利用grep以及-v参数命令查找函数体 收藏

有时候需要在源代码目录里面查找函数体,那么必须要用grep functionname 且必须排除 函数的调用。考察编程语言的语法,如果调用需要用call functionname,则可利用grep如下:
find somedir -name "*.src" | xargs grep "functionname" | grep -v "call" > result.txt

发表于 @ 2009年01月07日 14:54:00 | 评论( loading... ) | 编辑| 举报| 收藏

旧一篇:FreeBSD 6.1中配置使用小企鵝輸入法 | 新一篇:跨平台(unix/linux to windows)ftp传送tar文件时候,必要使用binary模式。

  • 发表评论
  • 评论内容:
  •  
Copyright © claider
Powered by CSDN Blog