filters (2.49) unstable; urgency=low
[filters.git] / kraut.dir / destructions
1 Kraut
2 +++++++++++++++++
3 Compiling Kraut:
4
5 You should have the files: kraut.c and kraut.l and lex.yy.c
6
7
8 kraut.l must be run thru the unix 'lex' utility to produce the file lex.yy.c
9 Then compile kraut.c and lex.yy.c to produce kraut
10
11 $lex kraut.l
12 $cc kraut.c lex.yy.c -o kraut
13 (You may get a list of warnings from the compiler. Ignore them.)
14
15 Note: lex.yy.c is included in this package. You only need to use lex if you
16 wish to make changes to kraut.
17
18 Using Kraut:
19
20 Kraut uses standard input and output.
21
22 examples:
23
24 To translate a file called 'note' and output kraut to a file called 'knote':
25
26 $ cat note | kraut > knote
27
28 To translate a file called 'note' and just print it to the screen:
29
30 $ cat note | kraut
31
32 To have kraut wait to translate what you type at the keyboard and return it in
33 kraut on your screen:
34
35 $ kraut
36
This page took 0.021576 seconds and 4 git commands to generate.