1. More on LEX 2. LEX In addition to scanner development, Lex/Flex is also used forsome other applications in system administration where textprocessing is needed. 3.…