** Start of listing of h-awk.cgi ** #! /bin/sh awk -f h.awk ** End of listing of h-awk.cgi ** Here is the directory entry for that file: -rwx------ 1 rem user 24 Aug 27 2004 h-awk.cgi ^ Note user execute permission needed for all CGI scripts. ** Start of listing of h.awk ** END {printf("Content-type: text/plain;charset=us-ascii\n\n"); printf("Hello, world!\n") } ** End of listing of h.awk ** Here is the directory entry for that file: -rw------- 1 rem user 95 Feb 28 2007 h.awk ^ Note: User execute permission is *not* needed for separate program files. (Technical reason: Because such "programs" are actually treated as data, read in by the awk program, not executed directly as programs themselves)