grep 信息提取

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

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

原文地址:https://www.cnblogs.com/fengbohello/p/4935267.html