In /usr/bin/checkmk line 1:
#! /usr/bin/mawk -f
^-- SC1008: This shebang was unrecognized. ShellCheck only supports sh/bash/dash/ksh. Add a 'shell' directive to specify.


In /usr/bin/checkmk line 21:
BEGIN {
      ^-- SC1083: This { is literal. Check expression (missing ;/\n?) or quote it.


In /usr/bin/checkmk line 22:
    progname="checkmk";
    ^------^ SC2034: progname appears unused. Verify use (or export if used externally).


In /usr/bin/checkmk line 23:
    is_stdin=0;
    ^------^ SC2034: is_stdin appears unused. Verify use (or export if used externally).


In /usr/bin/checkmk line 24:
    outfname="/dev/stdout";
    ^------^ SC2034: outfname appears unused. Verify use (or export if used externally).


In /usr/bin/checkmk line 27:
    pp_ws            = "[ \\t\\f\\v\\r\\n]+";
    ^---------------^ SC2034: pp_ws appears unused. Verify use (or export if used externally).
                     ^-- SC1068: Don't put spaces around the = in assignments (or quote to make it literal).


In /usr/bin/checkmk line 28:
    pp_ws_op         = "[ \\t\\f\\v\\r\\n]*";
    ^---------------^ SC2034: pp_ws_op appears unused. Verify use (or export if used externally).
                     ^-- SC1068: Don't put spaces around the = in assignments (or quote to make it literal).


In /usr/bin/checkmk line 29:
    pp_digit         = "[0-9]+"
    ^---------------^ SC2034: pp_digit appears unused. Verify use (or export if used externally).
                     ^-- SC1068: Don't put spaces around the = in assignments (or quote to make it literal).


In /usr/bin/checkmk line 30:
    pp_prefix        = pp_ws_op "#" pp_ws_op;
                     ^-- SC1068: Don't put spaces around the = in assignments (or quote to make it literal).


In /usr/bin/checkmk line 31:
    pp_sep           = "[ \\t\\f\\v\\r\\n]+";
    ^---------------^ SC2034: pp_sep appears unused. Verify use (or export if used externally).
                     ^-- SC1068: Don't put spaces around the = in assignments (or quote to make it literal).


In /usr/bin/checkmk line 32:
    pp_name          = ".+";
    ^---------------^ SC2034: pp_name appears unused. Verify use (or export if used externally).
                     ^-- SC1068: Don't put spaces around the = in assignments (or quote to make it literal).


In /usr/bin/checkmk line 33:
    pp_hex_quad      = "[A-F0-9a-f][A-F0-9a-f][A-F0-9a-f][A-F0-9a-f]"
    ^---------------^ SC2034: pp_hex_quad appears unused. Verify use (or export if used externally).
                     ^-- SC1068: Don't put spaces around the = in assignments (or quote to make it literal).


In /usr/bin/checkmk line 34:
    pp_ucn           = "\\\\(u" pp_hex_quad "|U" pp_hex_quad pp_hex_quad ")";
                     ^-- SC1068: Don't put spaces around the = in assignments (or quote to make it literal).


In /usr/bin/checkmk line 35:
    pp_test_name     = "([A-Za-z_]|" pp_ucn ")([A-Za-z0-9_]|" pp_ucn ")*";
                     ^-- SC1068: Don't put spaces around the = in assignments (or quote to make it literal).


In /usr/bin/checkmk line 36:
    pp_tag           = "([Ss][Uu][Ii][Tt][Ee]|[Tt][Cc][Aa][Ss][Ee])";
    ^---------------^ SC2034: pp_tag appears unused. Verify use (or export if used externally).
                     ^-- SC1068: Don't put spaces around the = in assignments (or quote to make it literal).


In /usr/bin/checkmk line 37:
    pp_test_tag      = "[Tt][Ee][Ss][Tt]";
    ^---------------^ SC2034: pp_test_tag appears unused. Verify use (or export if used externally).
                     ^-- SC1068: Don't put spaces around the = in assignments (or quote to make it literal).


In /usr/bin/checkmk line 38:
    pp_main_pre_tag  = "[Mm][Aa][Ii][Nn]-[Pp][Rr][Ee]";
    ^---------------^ SC2034: pp_main_pre_tag appears unused. Verify use (or export if used externally).
                     ^-- SC1068: Don't put spaces around the = in assignments (or quote to make it literal).


In /usr/bin/checkmk line 39:
    pp_main_post_tag = "[Mm][Aa][Ii][Nn]-[Pp][Oo][Ss][Tt]";
    ^---------------^ SC2034: pp_main_post_tag appears unused. Verify use (or export if used externally).
                     ^-- SC1068: Don't put spaces around the = in assignments (or quote to make it literal).


In /usr/bin/checkmk line 42:
    pp_test_exit_tag = "[Tt][Ee][Ss][Tt]-[Ee][Xx][Ii][Tt]" pp_ws_op "[(]" \
                     ^-- SC1068: Don't put spaces around the = in assignments (or quote to make it literal).


In /usr/bin/checkmk line 45:
    pp_test_signal_tag = "[Tt][Ee][Ss][Tt]-[Ss][Ii][Gg][Nn][Aa][Ll]" pp_ws_op \
                       ^-- SC1068: Don't put spaces around the = in assignments (or quote to make it literal).


In /usr/bin/checkmk line 48:
    pp_test_loop_tag = "[Tt][Ee][Ss][Tt]-[Ll][Oo][Oo][Pp]" pp_ws_op "[(]" \
                     ^-- SC1068: Don't put spaces around the = in assignments (or quote to make it literal).


In /usr/bin/checkmk line 52:
    pp_test_loop_exit_tag = "[Tt][Ee][Ss][Tt]-[Ll][Oo][Oo][Pp]-[Ee][Xx][Ii][Tt]" \
                          ^-- SC1068: Don't put spaces around the = in assignments (or quote to make it literal).


In /usr/bin/checkmk line 57:
    pp_test_loop_signal_tag = "[Tt][Ee][Ss][Tt]-[Ll][Oo][Oo][Pp]-[Ss][Ii][Gg]" \
                            ^-- SC1068: Don't put spaces around the = in assignments (or quote to make it literal).


In /usr/bin/checkmk line 62:
    pp_suite_or_tcase_line = "^" pp_prefix pp_tag pp_ws pp_name "$";
                           ^-- SC1068: Don't put spaces around the = in assignments (or quote to make it literal).


In /usr/bin/checkmk line 63:
    pp_test_line_prefix = "^" pp_prefix pp_test_tag pp_ws;
                        ^-- SC1068: Don't put spaces around the = in assignments (or quote to make it literal).


In /usr/bin/checkmk line 64:
    pp_test_exit_line_prefix = "^" pp_prefix pp_test_exit_tag pp_ws;
                             ^-- SC1068: Don't put spaces around the = in assignments (or quote to make it literal).


In /usr/bin/checkmk line 65:
    pp_test_signal_line_prefix = "^" pp_prefix pp_test_signal_tag pp_ws;
                               ^-- SC1068: Don't put spaces around the = in assignments (or quote to make it literal).


In /usr/bin/checkmk line 66:
    pp_test_loop_line_prefix = "^" pp_prefix pp_test_loop_tag pp_ws;
                             ^-- SC1068: Don't put spaces around the = in assignments (or quote to make it literal).


In /usr/bin/checkmk line 67:
    pp_test_loop_exit_line_prefix = "^" pp_prefix pp_test_loop_exit_tag pp_ws;
                                  ^-- SC1068: Don't put spaces around the = in assignments (or quote to make it literal).


In /usr/bin/checkmk line 68:
    pp_test_loop_signal_line_prefix = "^" pp_prefix pp_test_loop_signal_tag pp_ws;
                                    ^-- SC1068: Don't put spaces around the = in assignments (or quote to make it literal).


In /usr/bin/checkmk line 69:
    pp_test_line = pp_test_line_prefix pp_name pp_ws_op "$";
                 ^-- SC1068: Don't put spaces around the = in assignments (or quote to make it literal).


In /usr/bin/checkmk line 70:
    pp_test_exit_line = pp_test_exit_line_prefix pp_name pp_ws_op "$";
                      ^-- SC1068: Don't put spaces around the = in assignments (or quote to make it literal).


In /usr/bin/checkmk line 71:
    pp_test_signal_line = pp_test_signal_line_prefix pp_name pp_ws_op "$";
                        ^-- SC1068: Don't put spaces around the = in assignments (or quote to make it literal).


In /usr/bin/checkmk line 72:
    pp_test_loop_line = pp_test_loop_line_prefix pp_name pp_ws_op "$";
                      ^-- SC1068: Don't put spaces around the = in assignments (or quote to make it literal).


In /usr/bin/checkmk line 73:
    pp_test_loop_exit_line = pp_test_loop_exit_line_prefix pp_name pp_ws_op "$";
                           ^-- SC1068: Don't put spaces around the = in assignments (or quote to make it literal).


In /usr/bin/checkmk line 74:
    pp_test_loop_signal_line = pp_test_loop_signal_line_prefix pp_name pp_ws_op "$";
                             ^-- SC1068: Don't put spaces around the = in assignments (or quote to make it literal).


In /usr/bin/checkmk line 75:
    pp_main_pre_line = "^" pp_prefix pp_main_pre_tag pp_ws_op "$";
                     ^-- SC1068: Don't put spaces around the = in assignments (or quote to make it literal).


In /usr/bin/checkmk line 76:
    pp_main_post_line = "^" pp_prefix pp_main_post_tag pp_ws_op "$";
                      ^-- SC1068: Don't put spaces around the = in assignments (or quote to make it literal).


In /usr/bin/checkmk line 79:
    in_test = needs_line_decl = 0;
            ^-- SC1068: Don't put spaces around the = in assignments (or quote to make it literal).


In /usr/bin/checkmk line 80:
    cur_suite = cur_tcase = "Core";
              ^-- SC1068: Don't put spaces around the = in assignments (or quote to make it literal).


In /usr/bin/checkmk line 81:
    cur_test = "";
    ^-------^ SC2034: cur_test appears unused. Verify use (or export if used externally).
             ^-- SC1068: Don't put spaces around the = in assignments (or quote to make it literal).


In /usr/bin/checkmk line 82:
    exit_okay = start = 1;
              ^-- SC1068: Don't put spaces around the = in assignments (or quote to make it literal).


In /usr/bin/checkmk line 83:
    num_cur_tcases = num_cur_tests = 0;
                   ^-- SC1068: Don't put spaces around the = in assignments (or quote to make it literal).


In /usr/bin/checkmk line 84:
    test_type = num_tests = 0;
              ^-- SC1068: Don't put spaces around the = in assignments (or quote to make it literal).


In /usr/bin/checkmk line 85:
    arg1 = 0;
    ^---^ SC2034: arg1 appears unused. Verify use (or export if used externally).
         ^-- SC1068: Don't put spaces around the = in assignments (or quote to make it literal).


In /usr/bin/checkmk line 86:
    arg2 = 1;
    ^---^ SC2034: arg2 appears unused. Verify use (or export if used externally).
         ^-- SC1068: Don't put spaces around the = in assignments (or quote to make it literal).


In /usr/bin/checkmk line 87:
    arg3 = 2;
    ^---^ SC2034: arg3 appears unused. Verify use (or export if used externally).
         ^-- SC1068: Don't put spaces around the = in assignments (or quote to make it literal).


In /usr/bin/checkmk line 88:
    test_name = 0;
    ^--------^ SC2034: test_name appears unused. Verify use (or export if used externally).
              ^-- SC1068: Don't put spaces around the = in assignments (or quote to make it literal).


In /usr/bin/checkmk line 89:
    test_type_flag = 1;
    ^-------------^ SC2034: test_type_flag appears unused. Verify use (or export if used externally).
                   ^-- SC1068: Don't put spaces around the = in assignments (or quote to make it literal).


In /usr/bin/checkmk line 90:
}
^-- SC1089: Parsing stopped here. Is this keyword correctly matched up?

For more information:
  https://www.shellcheck.net/wiki/SC1008 -- This shebang was unrecognized. Sh...
  https://www.shellcheck.net/wiki/SC1068 -- Don't put spaces around the = in ...
  https://www.shellcheck.net/wiki/SC1083 -- This { is literal. Check expressi...