this is my lex file ------------ test.l
%%
[A-Z]printf("%c",yytext[0]+'a'-'A');.ECHO;
how do i compile it
$ lex test.l cc lex.yy.c -o test -ll <------|
|
if this is correct do i add this line--------| @the command line or does it get added into the code file