commit 4446ff70af5a409a48be074450e790ac36f1824f parent c62c2fe3b1ab53fca1df7f14f6256c84c6276f73 Author: Christoph Lohmann <20h@r-36.net> Date: Sat, 7 Aug 2021 08:22:23 +0200 Add dirlisting dcgi example. Thanks IanJ for proposing! Diffstat:
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 +