【发布时间】:2013-01-21 07:27:22
【问题描述】:
我有一个如下给出的文件,我需要从下面给出的文本文件中访问一个特定的字符串。
** The gSOAP code generator for C and C++, soapcpp2 release 2.8.12
** Copyright (C) 2000-2012, Robert van Engelen, Genivia Inc.
** All Rights Reserved. This product is provided "as is", without any warranty.
** The soapcpp2 tool is released under one of the following two licenses:
** GPL or the commercial license by Genivia Inc.
如何使用 shell 脚本从上述文本文件中获取数字 2.8.12,
【问题讨论】:
-
一个简单的正则表达式应该可以工作。