"Richard L. Hamilton" wrote: > > Well, I hate that packages that install man pages don't bother to run catman > -w -M $dir > on the directory (and again when they're removed). > > And I'm getting tired of /usr/bin/awk, /usr/bin/nawk, and even > /usr/xpg4/bin/awk. > Once again, I run into their stupid limits. Even the xpg4 one, that is at > least more generous > than the other two, choked (it's called from /usr/lib/makewhatis). > > # catman -w -M /usr/share/man > awk: line 3 (NR=5115): Record too long (LIMIT: 19999 bytes) > > Here's a little comparison I did way back when: > > http://groups.google.com/group/comp.unix.solaris/msg/f920ecd9790ae334?dmode=source > > gawk is one of the few GNU versions of utilities that I really like. They > took some reasonable > pains for compatibility, and it has for all practical purposes > _no_line_length_limit_.
But that would make /usr/bin/man depend on utilities in /usr/gnu/ - is that really wanted in this case ? As technical alternative there would be (in theory) the option to rewrite the matching parts (or catman/man as whole pieces) in ksh93 which would both kill the line length limit issues (unless they exceed 2^64 bits... =:-) ) and the i18n problems trigged by /usr/bin/awk&co. ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.mainz at nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 7950090 (;O/ \/ \O;)
