Merge from vendor branch GCC:
[dragonfly.git] / contrib / awk / doc / README.card
1 Mon Dec  9 12:45:48 EST 1996
2
3 The AWK reference card included here requires a modern version of troff
4 (ditroff). GNU Troff (groff) is known to work.
5
6 If your troff is able to produce Postscript but does not know how to
7 properly use the macros from `colors' file then try to uncomment in
8 Makefile the defintion which sets AWKCARD to awkcard.nc (no colors).
9 This will definitely require changes to the TROFF macro and you have to
10 ensure that the tbl preprocessor is called.  For example, the following
11 modifications on NeXT:
12
13 TROFF = tbl
14 SEDME = ptroff -t | sed -e \
15         "s/^level0 restore/level0 restore flashme 100 72 moveto\
16  (Copyright `date`, FSF, Inc. (all)) show/" \
17         -e "s/^\/level0 save def/\/level0 save def 30 -48 translate/"
18
19 will produce a correctly formatted, albeit monochromatic, reference card.