350d05c45e
Provided in PR 12583 by Ben Collver (collver@linuxfreemail.com). This distribution contains source and documentation for an RTF (Rich Text Format) translation tool. Translators exist to produce plaintext and troff output.
17 lines
529 B
Text
17 lines
529 B
Text
$NetBSD: patch-aa,v 1.1.1.1 2001/04/27 12:18:33 agc Exp $
|
|
|
|
--- h/stdnames.awk.orig Sun Apr 8 12:04:27 2001
|
|
+++ h/stdnames.awk Sun Apr 8 12:08:22 2001
|
|
@@ -3,9 +3,9 @@
|
|
printf "\n/* The following defines are automatically generated. Do not edit. */\n\n"
|
|
printf "\n/* These must be sequential beginning from zero */\n\n"
|
|
}
|
|
-/^$/ { continue }
|
|
-/^#/ { continue }
|
|
-{
|
|
+# /^$/ { continue }
|
|
+# /^#/ { continue }
|
|
+/^[^#].*$/ {
|
|
printf "#define rtfSC_%s\t%d\n", $1, count++
|
|
}
|
|
END { printf "\n#define rtfSC_MaxChar\t%d\n", count }
|