🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: algonet.amiga
Article #21

Re: man xxx

#21
From: Kochanski, Wieslaw
Date: Wed, 31 Jan 1996 00:00
51 lines
2589 bytes
cgiparse finns ej i man det �r inte standart ett m�ste p� UNIX.


Program for CGI/1.0 scripts, to parse QUERY_STRING environment variable
(method GET) or standard input (method POST).  Can also be used to just
read CONTENT_LENGTH characters from stdin.

Usage:
    cgiparse -keywords
    cgiparse -form [-sep ] -prefix 
    cgiparse -value  [-sep ]
    cgiparse -read
    cgiparse -init

Options:
  -sep xx    with -form      Specify multi-value separator, default ", "
             with -value     The same, but default is newline

  -prefix xx only with -form Set the shell variable suffix, default is 
FORM_

  -count     with -keywords  Output the number of keywords
             with -form      Give the number of unique form fields
                             (multiple values counted as one)
             with -value xx  Give the number of multiple values of
                             field xx

  -     e.g. -2
             with -keyword   Give n'th keyword
             with -form      Give all values of n'th field
             with -value xx  Give n'th of multi-values of field xx

  -quiet                     Suppress error messages (non-zero exit
                             status still indicates error)

Options have one-character equivalents: -k -f -v -r -i -s -p -c -q

Exit statuses:
    0        Success
    1        Illegal arguments
    2        Environment not set correctly
    3        Failed to get the information (no such field, QUERY_STRING
             contains keywords when form 


==================================================================
http://www.algonet.se/~wieslaw/
http://www.localnet.org/users/wieslaw/
mailto:wieslaw@algonet.se
mailto:wieslaw@localnet.org
===================================================================
Technical Details
Message-ID: <4eog3p$lit@prometheus.algonet.se>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <1313.6604T1175T2413@algonet.se>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 1102e3,306945af7c5e3159
X-Google-Attributes: gid1102e3,public
X-Google-Thread: 103fdb,306945af7c5e3159
X-Google-Attributes: gid103fdb,public
X-Google-Thread: f7a1c,306945af7c5e3159
X-Google-Attributes: gidf7a1c,public
X-Google-Thread: fad40,306945af7c5e3159
X-Google-Attributes: gidfad40,public
From: "Kochanski, Wieslaw" <wieslaw@algonet.se>
Subject: Re: man xxx
Date: 1996/01/31
Message-ID: <4eog3p$lit@prometheus.algonet.se>
X-Deja-AN: 137374031
references: <1313.6604T1175T2413@algonet.se>
content-type: text/plain; charset=iso-8859-1
organization: Non
mime-version: 1.0
newsgroups: algonet.amiga,algonet.unix,algonet.www,swnet.wanted
x-mailer: Mozilla 1.22 (Windows; I; 16bit)