/usr/share/doc/jflex/examples/standalone/README is in jflex 1.4.3+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | This is a small example of a standalone text substitution scanner.
It reads a name after the keyword name and replaces all occurences
of "hello" by "hello <name> !".
sample.inp
contains a sample input for the scanner
standalone.flex
the lexical specification for the scanner
build.xml
ant build file
to run the example use ant or type:
jflex standalone.flex
javac Subst.java
java Subst sample.inp
|