commit | 1d60b873aecc6fce4893b76500c30374f8c9e394 | [log] [tgz] |
---|---|---|
author | Alexander Kapshuk <alexander.kapshuk@gmail.com> | Mon Oct 12 21:39:42 2015 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Oct 17 21:55:26 2015 -0700 |
tree | de5176f5720dfe84d4b728e255b12bbc09c02a12 | |
parent | 235024e519fa16242f916ec41b00547582f561a7 [diff] |
ver_linux: make --version, use regex to find version number Rely on regex to find the version number, rather than a field number. Reduce the number of 'awk' invocations from two to one. Signed-off-by: Alexander Kapshuk <alexander.kapshuk@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>