summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-03-30 22:55:58 +0200
committerPaul Buetow <paul@buetow.org>2024-03-30 22:55:58 +0200
commitcd12ce7f9c785c9bb5d53dc7d1da070a7bd40b9b (patch)
treeac087a3bb85c0bee58cdc36cc544870748ff32de
parent873de712ef81975bbd25d8774e38383db9a5ee0f (diff)
inline index is case-insensitive
-rw-r--r--lib/template.source.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/template.source.sh b/lib/template.source.sh
index 9b0f8b5..5a7f023 100644
--- a/lib/template.source.sh
+++ b/lib/template.source.sh
@@ -83,7 +83,7 @@ template::inline::index () {
fi
echo "=> ./$gmi_file $date $title$current"
- done < <(ls | $GREP "$topic.*\\.gmi\$" | $GREP -v DRAFT)
+ done < <(ls | $GREP -i "$topic.*\\.gmi\$" | $GREP -v DRAFT)
done | sort | uniq
}