From 02ebe3c344673ef358a0b1bf1384a5ccc3d11976 Mon Sep 17 00:00:00 2001 From: Valentin Bajrami Date: Tue, 30 Jul 2019 11:14:09 +0200 Subject: [PATCH] src/script/check_commands.sh: fix grep regex class range Correct the faulty regex class. Signed-off-by: Valentin Bajrami --- src/script/check_commands.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/script/check_commands.sh b/src/script/check_commands.sh index 17a15b405e9..589c3d6a6ff 100755 --- a/src/script/check_commands.sh +++ b/src/script/check_commands.sh @@ -1,5 +1,6 @@ #!/bin/sh -git grep COMMAND\( | grep -o "(\"[a-zA-z ]*\"" | grep -o "[a-zA-z ]*" > commands.txt + +git grep -e COMMAND\( -e COMMAND_WITH_FLAG\( | grep -o "(\"[a-zA-Z ]*\"" | grep -o "[a-zA-Z ]*" | sort | uniq > commands.txt missing_test=false good_tests="" bad_tests="" -- 2.39.5