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.

Installed programs: flex, flex++ (link to flex) and lex

Installed library: libfl.a

Short 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.

libfl.a 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, cpp, gcc
Grep: egrep, grep
Make: make
Sed: sed