[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1467109146-20331-3-git-send-email-alexander.kapshuk@gmail.com>
Date: Tue, 28 Jun 2016 13:18:37 +0300
From: Alexander Kapshuk <alexander.kapshuk@...il.com>
To: linux-kernel@...r.kernel.org
Cc: gregkh@...uxfoundation.org,
Alexander Kapshuk <alexander.kapshuk@...il.com>
Subject: [PATCH 03/32] ver_linux: execute 'uname -a' from awk
Execute 'uname -a' using the awk system() function.
Signed-off-by: Alexander Kapshuk <alexander.kapshuk@...il.com>
---
scripts/ver_linux | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/ver_linux b/scripts/ver_linux
index 2f1d494..c509f09 100755
--- a/scripts/ver_linux
+++ b/scripts/ver_linux
@@ -9,8 +9,8 @@ BEGIN {
usage = usage "Compare to the current minimal requirements in Documentation/Changes.\n"
print usage
-uname -a
-echo ' '
+ system("uname -a")
+ printf("\n")
gcc -dumpversion 2>&1 |
awk '/[0-9]+([.]?[0-9]+)+/ && !/not found$/{
--
2.7.3
Powered by blists - more mailing lists