TLDR
Enter a command. For example: ocrmypdf, restic, git fame, gifsicle.

flex

 
Lexical analyzer generator. Based on lex. Given the specification for a lexical analyzer, generates C code implementing it. More information: https://manned.org/flex.
 
  • Generate an analyzer from a flex file:
     
    flex {{analyzer.l}}
     
  • Specify the output file:
     
    flex --outfile {{analyzer.c}} {{analyzer.l}}
     
  • Compile a C file generated by flex:
     
    cc {{path/to/lex.yy.c}} --output {{executable}}

This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.