---------------------------------------------------------------------

next up previous contents
Next: Other languages Up: Draw PAD figure directly Previous: Java

---------------------------------------------------------------------

AWK

 

To draw a PAD figure directly from an AWK program, type in:

% pad2ps -awk foo.awk > foo.ps

You can omit -awk  option if the suffix of the input file is .awk.

A parser for AWK program is awk2pad . To execute this parser directly to convert the program into PADEL, type in:

% mkpad -awk foo.awk > foo.pad

In this case you cannot omit -awk option.

When converting an AWK program, a PAD figure is drawn for each BEGIN, END, or each pattern. BEGIN, END, or each pattern becomes the corresponding PAD's title.

You should be able to draw PAD figures for almost any AWK programs.

---------------------------------------------------------------------

Go back to pad2ps - automatic PAD drawer.
Go back to Seiichi Yoshida's Home Page.
Copyright(C) Seiichi Yoshida (comet@aerith.net). All rights reserved.
Sun Nov 10 01:36:04 JST 1996