From 94585bf852451b4ace261450cf838a7a052214b3 Mon Sep 17 00:00:00 2001 From: Guenter Knauf Date: Wed, 13 Jun 2007 22:20:13 +0000 Subject: [PATCH] fixed space detection --- get_ver.awk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get_ver.awk b/get_ver.awk index e483018..75c411a 100755 --- a/get_ver.awk +++ b/get_ver.awk @@ -1,7 +1,7 @@ # fetch libssh2 version number from input file and write them to STDOUT BEGIN { while ((getline < ARGV[1]) > 0) { - if (match ($0, /^#define LIBSSH2_VERSION[\s|\t]+"[^"]+"/)) { + if (match ($0, /^#define LIBSSH2_VERSION[ |\t]+"[^"]+"/)) { my_ver_str = substr($3, 2, length($3) - 2); split(my_ver_str, v, "."); if (v[3])