From 62df7214a1b6602bec3e355a0729de2968db6504 Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Wed, 6 Sep 2023 11:03:36 +0200 Subject: add support for .sh files --- src/extract-sh.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 src/extract-sh.sh (limited to 'src/extract-sh.sh') diff --git a/src/extract-sh.sh b/src/extract-sh.sh new file mode 100755 index 0000000..c31df74 --- /dev/null +++ b/src/extract-sh.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +set -efu + +TREE_GREPPER_LANGUAGE=sh \ +TREE_GREPPER_QUERY='((comment)+)' \ +LINE_COMMENT_START='#' \ +"$(dirname "$0")"/extract-generic.sh "$@" -- cgit v1.2.3