aboutsummaryrefslogtreecommitdiffstats
path: root/doc/sidebar.awk
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2016-02-23 09:06:18 +0200
committerArnold D. Robbins <arnold@skeeve.com>2016-02-23 09:06:18 +0200
commit062e6b023822c7636671da555a7d8a49f292e9ad (patch)
tree89d8aa263a9ccaf9b5a73b5b1d48f9a7c1d2898b /doc/sidebar.awk
parentb97b200a4b35f386d0e3ddf2e9502e372b49b598 (diff)
downloadegawk-062e6b023822c7636671da555a7d8a49f292e9ad.tar.gz
egawk-062e6b023822c7636671da555a7d8a49f292e9ad.tar.bz2
egawk-062e6b023822c7636671da555a7d8a49f292e9ad.zip
Fix sidebar.awk to be usable with old awks.
Diffstat (limited to 'doc/sidebar.awk')
-rw-r--r--doc/sidebar.awk4
1 files changed, 2 insertions, 2 deletions
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"