Introduction
Introduction Statistics Contact Development Disclaimer Help
Be a bit more helpful in the CGI description. - geomyidae - A small C-based gop…
git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfri…
Log
Files
Refs
Tags
README
LICENSE
---
commit fa26f7e1f75b2489635415af8815efb1f3b9880e
parent a008a6b5af9fa5fb95ea950b72196548816990c4
Author: Christoph Lohmann <[email protected]>
Date: Wed, 11 Oct 2017 15:03:41 +0200
Be a bit more helpful in the CGI description.
Diffstat:
M CGI | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/CGI b/CGI
@@ -79,7 +79,7 @@ The client will receive:
DYNAMIC CGI
For using dynamic CGI, the file needs to end in »dcgi«, which will switch on
-the interpretation of the returned lines by the script. The interpreted for-
+the interpretation of the returned lines by the server. The interpreted for-
mat is the same as in the *.gph files.
% cat test.dcgi
@@ -92,6 +92,12 @@ menu item.
S: 1Some link /somewhere gopher.r-36.net 70
+For outputting large texts and having minor hassles with the content, prepend
+»t« to every line beginning with »t« or all lines:
+
+ % cat filereader.dcgi
+ #!/bin/sh
+ cat bigfile.txt | sed 's,^t,&&,'
Have fun!
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.