#!/usr/bin/python3# ...until #embed comes along...# eg: tools/escape-to-c cockpit_webresponse_fail_html_text < fail.html > fail.html.cimport jsonimport sys# Use a pointer to allow overriding the valueprint('const char *', sys.argv[1], '=\n',*[json.dumps(line) + '\n' for line in sys.stdin],';')