summaryrefslogtreecommitdiff
path: root/web/noweb/src/HPUX
diff options
context:
space:
mode:
Diffstat (limited to 'web/noweb/src/HPUX')
-rw-r--r--web/noweb/src/HPUX29
1 files changed, 29 insertions, 0 deletions
diff --git a/web/noweb/src/HPUX b/web/noweb/src/HPUX
new file mode 100644
index 0000000000..ee65c1462b
--- /dev/null
+++ b/web/noweb/src/HPUX
@@ -0,0 +1,29 @@
+HPUX awk has bugs. I recommend that you use Brian Kernighan's
+implementation of awk, which is available for free from AT&T.
+Try http://cm.bell-labs.com/who/bwk/.
+
+If you must use HPUX awk, Steven Ooms kindly provided the following
+changes to the awk script "totex". The problem lines are all situated
+in the function "indexlabel( ident, l )":
+
+---------------start included text---------------
+totex: gsub(/{/, ":lb", l) # left brace
+...
+totex: gsub(/{/, "{\\char123}", arg)
+...
+totex: gsub(/{\\char92>/, "{\\char92}", arg)
+---------------end included text---------------
+
+The corresponding new lines look as follows:
+
+---------------start included text---------------
+totex: gsub(/\{/, ":lb", l) # left brace
+...
+totex: gsub(/\{/, "{\\char123}", arg)
+...
+totex: gsub(/\{\\char92>/, "{\\char92}", arg)
+---------------end included text---------------
+
+Also, I'm told that in src/Makefile the strip command in an HPUX8
+machine causes the make to fail. Commenting out the 'strip' fixes the
+problem.