#!/usr/bin/awk -f function Fehler(s) { # Fehler (als richtiges text/html) zum Client ausgeben und Programmende printf("Content-type: text/html; charset=utf-8\n\n"); printf("
\n",s); printf("\n"); } ################# # Hauptprogramm # ################# BEGIN { Fehler("Test!"); }