Files
cpp-project-template/third_party/prometheus/3rdparty/civetweb/test/linux_stderr.cgi

17 lines
237 B
Plaintext
Raw Normal View History

2025-08-22 18:22:57 +08:00
#!/bin/bash
printf "Content-Type: text/plain\r\n"
printf "\r\n"
echo "This is a shell script called by CGI"
for ((number=1;number < 5000;number++))
{
echo "Write $number to stdout"
echo "Write $number to stderr" 1>&2
}
echo "done"