From 229825c95457de4e33d5ec734c9f63b96713b099 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tony=20Tk=C3=A1=C4=8Dik?= Date: Thu, 24 Aug 2023 11:07:23 +0200 Subject: [PATCH] Fixed shelldoc greps --- inc/nuxr.nuxsh.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/nuxr.nuxsh.sh b/inc/nuxr.nuxsh.sh index 5db6913..1bdead5 100644 --- a/inc/nuxr.nuxsh.sh +++ b/inc/nuxr.nuxsh.sh @@ -89,7 +89,7 @@ nux.use nuxr/repl nux.log trace "doc_start" $doc_start $code_start if [ -n "$doc_start" -a -n "$code_start" ] { sed -n "$doc_start,$code_start"p "$script" \ - | grep "^\#\#" \ + | grep "^##" \ | sed -re "s/^#+ ?(.*)/\1/gi" \ | nux.help.shelldoc return 0