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

next up previous contents
Next: Java Up: Draw PAD figure directly Previous: Bourne shell

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

C shell

 

To draw a PAD figure directly from C shell program, type in;

% pad2ps -csh foo.csh > foo.ps

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

A parser for C shell program is csh2pad . To execute this parser directly to convert the program into PADEL, type in:

% mkpad -csh foo.csh > foo.pad

In this case you cannot omit -csh option.

A C shell program is drawn as one PAD, and no title will be set.

Here is an example of C shell program:

cat << EOF
tex2html_wrap2584
EOF

In this case all parts between cat << EOF and EOF is surrounded by a rectangular frame, and it is drawn as one PAD box.

You should be able to convert almost any C shell program to PAD figures.

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

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