Linux Command Directory
This directory of Linux commands is from Linux in a Nutshell, 5th Edition.
Click on any of the 687 commands below to get a description and list of available options. All links in the command summaries point to the online version of the book on Safari Bookshelf.
yacc [options] file
Given a file containing context-free grammar, convert file into tables for subsequent parsing, and send output to y.tab.c. This command name stands for yet another compiler-compiler. See also flex, bison, and lex & yacc (O'Reilly).
Prepend prefix, instead of y, to the output file.
Generate y.tab.h, producing #define statements that relate yacc's token codes to the token names declared by the user.
Generate a VCG description.
Exclude #line constructs from code produced in y.tab.c. (Use after debugging is complete.)
Write generated code to outfile instead of the default y.tab.c.
Change the symbol yacc uses for symbols it generates from the default yy to prefix.
Compile runtime debugging code.
Generate y.output, a file containing diagnostics and notes about the parsing tables.