grep 信息提取

1、提取svn版本库的版本号

svn info |grep -Po '(?<=Revision: )[0-9]*'

posted @ 2015-11-04 10:43  fengbohello  阅读(1252)  评论(0编辑  收藏  举报