countwcl.l :
counts the the number of words, lines and characters of the given input string
converts.l :
Converts a given string from lowercase to UPPERCASE
countvc.l :
Counts the vowels and consonants within a string
- Install lex into your unix terminal
sudo apt install flex
Input the administrator password - For example to run countwcl.l
lex countwcl.l
You will notice a file 'lex.yy.c' in your current working directory (Note: To check the working directory, type 'pwd') - This is a c file
- Run the c file by
gcc lex.yy.c - Type './a.out'
Write to me @whcyberus (Sleety George) @Linkedin