From e311d15f39249ade0927df61994407c22440cf4e Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Wed, 6 Aug 2008 00:31:21 +0200 Subject: [PATCH 1/1] create-help.sh: Fix 'tg update' generated help text --- create-help.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create-help.sh b/create-help.sh index 0c40ee2..766e8d4 100755 --- a/create-help.sh +++ b/create-help.sh @@ -10,8 +10,8 @@ fi < README awk ' BEGIN { incommand = 0; } /^tg '"$1"'$/ { incommand = 1; next; } - /^tg/ { incommand = 0; next; } /^~/ { next; } # Ignore the title underlines. + /^[^\t]/ { incommand = 0; next; } { if (incommand) { print $0; } } ' > tg-"$1".txt -- 2.30.2