Flex

For installation instructions see the Section called Installing Flex-2.5.4a in Chapter 6.

Official Download Location

Flex (2.5.4a): 
ftp://ftp.gnu.org/non-gnu/flex/

Contents of Flex

(Last checked against version 2.5.4a.)

The Flex package is used to generate programs which recognize patterns in text.

Flex installs the following:

Program Files

flex, flex++ (link to flex) and lex

Descriptions

(Last checked against version 2.5.4a.)

Program file descriptions

flex is a tool for generating programs that recognize patterns in text. Pattern recognition is useful in many applications. From a set of rules on what to look for flex makes a program that looks for those patterns. The reason to use flex is that it is much easier to specify the rules for than to write the actual pattern-finding program.

flex++ invokes a version of flex that is used exclusively for C++ scanners.

Library file descriptions

libfl is the flex library.

Flex Installation Dependencies

(Last checked against version 2.5.4a.)

Bash: sh
Binutils: ar, as, ld, ranlib
Bison: bison
Coreutils: cat, chmod, cp, echo, hostname, install, ln, mv, rm, touch, tr
Diffutils: cmp
GCC: cc1, collect2, cpp0, gcc
Grep: egrep, grep
Make: make
Sed: sed