~vcs-imports/gawk/master

« back to all changes in this revision

Viewing changes to awklib/eg/network/testserv.awk

  • Committer: Arnold D. Robbins
  • Date: 2010-07-16 10:09:56 UTC
  • Revision ID: git-v1:bc70de7b3302d5a81515b901cae376b8b51d2004
Tags: gawk-3.1.0
Move to gawk-3.1.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
BEGIN {
 
2
  CGI_setup("GET",
 
3
  "http://www.gnu.org/cgi-bin/foo?p1=stuff&p2=stuff%26junk" \
 
4
       "&percent=a %25 sign",
 
5
  "1.0")
 
6
  for (i in MENU)
 
7
      printf "MENU[\"%s\"] = %s\n", i, MENU[i]
 
8
  for (i in PARAM)
 
9
      printf "PARAM[\"%s\"] = %s\n", i, PARAM[i]
 
10
  for (i in GETARG)
 
11
      printf "GETARG[\"%s\"] = %s\n", i, GETARG[i]
 
12
}