From 062e6b023822c7636671da555a7d8a49f292e9ad Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Tue, 23 Feb 2016 09:06:18 +0200 Subject: Fix sidebar.awk to be usable with old awks. --- doc/sidebar.awk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/sidebar.awk') diff --git a/doc/sidebar.awk b/doc/sidebar.awk index bb381aa3..98296dcb 100644 --- a/doc/sidebar.awk +++ b/doc/sidebar.awk @@ -28,14 +28,14 @@ BEGIN { } /^@sidebar/ { - sub(/^@sidebar[[:space:]]+/, "", $0) + sub(/^@sidebar[ \t]+/, "", $0) title = $0 body = "" collecting = 1 next } -/^@end[[:space:]]+sidebar[[:space:]]*$/ { +/^@end[ \t]+sidebar[ \t]*$/ { collecting = 0 printf "@cindex sidebar, %s\n", title printf "@ifdocbook\n" -- cgit v1.2.3