From: Valentin Bajrami Date: Tue, 30 Jul 2019 09:14:09 +0000 (+0200) Subject: src/script/check_commands.sh: fix grep regex class range X-Git-Tag: v15.1.0~2024^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=02ebe3c344673ef358a0b1bf1384a5ccc3d11976;p=ceph.git src/script/check_commands.sh: fix grep regex class range Correct the faulty regex class. Signed-off-by: Valentin Bajrami --- diff --git a/src/script/check_commands.sh b/src/script/check_commands.sh index 17a15b405e9e..589c3d6a6ff0 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=""