commit 110506e3789b28df9fd2777e87b202018139fde5 from: Oliver Lowe date: Fri Jun 16 05:56:05 2023 UTC Automate generation of README with command summaries commit - 88c60ed6e14acbaaf2240011fc4830e1bda7a32f commit + 110506e3789b28df9fd2777e87b202018139fde5 blob - a6e9c68dc3c8f71c72c69576ca6a0975cf3711d9 blob + fedaedf415cc682f4288218f6def7b238a6ee098 --- README +++ README @@ -1,3 +1,11 @@ Programs, configuration and documentation that don't fit anywhere else. To install, run install.sh. + +The following commands are provided: + +hits - count web traffic +hlsget - download the contents of a HLS playlist +jsfmt - format javascript source code +knocknocauth - create and close knocknoc sessions +webpaste - create a web paste on webpaste.olowe.co blob - /dev/null blob + e2469fc987953add2b777570bfe4a4f1b5cdd765 (mode 644) --- /dev/null +++ mkfile @@ -0,0 +1,3 @@ +README: readme.proto summary.sh + cp readme.proto README + ./summary.sh >> README blob - /dev/null blob + 50a0f27ccadd70920506edd4e6e2a393ba6a9931 (mode 644) --- /dev/null +++ readme.proto @@ -0,0 +1,6 @@ +Programs, configuration and documentation that don't fit anywhere else. + +To install, run install.sh. + +The following commands are provided: + blob - /dev/null blob + 1e764b9d49d4d0504312a6e537061db2d6387eaa (mode 755) --- /dev/null +++ summary.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +for f in man/* +do + name=`basename $f | sed 's/\.[0-9]$//'` + description=`grep .Nd $f | sed 's/^\.Nd //'` + echo $name '-' $description +done