tmake answers case insensitive - gph-poll - a dynamic poll for geomyidae(8)
HTML git clone git://src.adamsgaard.dk/gph-poll
DIR Log
DIR Files
DIR Refs
DIR LICENSE
---
DIR commit 9419e6f9379e509a32bfc81678d3887556f0c1e0
DIR parent afc543e950f5de12d04241690ddcc9e555ce744e
HTML Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Tue, 30 Mar 2021 21:36:32 +0200
make answers case insensitive
Diffstat:
M index.dcgi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/index.dcgi b/index.dcgi
t@@ -28,7 +28,7 @@ fi
if [ -r "$polldb" ]; then
printf '\nRanking:\n\n'
sort "${polldb}" \
- | uniq -c \
+ | uniq -ci \
| sort -nr \
| while read -r count option; do
printf '[1|(%s) %s|/%s?%s|server|port]\n' \