Introduction
Introduction Statistics Contact Development Disclaimer Help
Add dirlisting dcgi example. - geomyidae - A small C-based gopherd.
git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfri…
Log
Files
Refs
Tags
README
LICENSE
---
commit 4446ff70af5a409a48be074450e790ac36f1824f
parent c62c2fe3b1ab53fca1df7f14f6256c84c6276f73
Author: Christoph Lohmann <[email protected]>
Date: Sat, 7 Aug 2021 08:22:23 +0200
Add dirlisting dcgi example.
Thanks IanJ for proposing!
Diffstat:
A cgi-examples/dirlisting.dcgi | 7 +++++++
1 file changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/cgi-examples/dirlisting.dcgi b/cgi-examples/dirlisting.dcgi
@@ -0,0 +1,7 @@
+#!/bin/sh
+#
+# List all .md files in some directory and show a dir listing.
+#
+
+find *.md -printf "[0|%TY-%Tm-%Td %f|%f|server|port]\r\n" | sort -r
+
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.