about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2022-08-02 09:28:32 -0500
committerCase Duckworth2022-08-02 09:28:32 -0500
commit12381cf3db447de57478fed1e0013402b24deb21 (patch)
tree3587633d3ff0a623a36d73e696ce85aad0aac12a
parentPrettier; change code background (diff)
downloadcgit-12381cf3db447de57478fed1e0013402b24deb21.tar.gz
cgit-12381cf3db447de57478fed1e0013402b24deb21.zip
shfmt
-rwxr-xr-xcgit-about-filter.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/cgit-about-filter.sh b/cgit-about-filter.sh index ad2c4ce..5efa55b 100755 --- a/cgit-about-filter.sh +++ b/cgit-about-filter.sh
@@ -26,7 +26,7 @@ plaintext() {
26} 26}
27 27
28case "$(printf '%s' "$1" | tr '[:upper:]' '[:lower:]')" in 28case "$(printf '%s' "$1" | tr '[:upper:]' '[:lower:]')" in
29 *.markdown|*.mdown|*.md|*.mkd) exec pandoc -thtml -fmarkdown ;; 29*.markdown | *.mdown | *.md | *.mkd) exec pandoc -thtml -fmarkdown ;;
30 *.htm|*.html) exec cat ;; 30*.htm | *.html) exec cat ;;
31 *) plaintext ;; 31*) plaintext ;;
32esac 32esac