fsadump 1 fsadump dump the contents of finite state automata files fsadump OPTIONS fsa_file Description fsadump dumps the contents of fsa files to standard out in one of several different formats (some of which can be directly used as input for makefsa). Options text output format, with empty meta info (default) text output format binary output format, with base64 encoded meta info binary output format with raw meta info text ouptut with numerical meta info text output format, with the perfect hash value instead of meta info dot output format (for visualization using graphviz) display usage help display version number Output formats Text output format with empty meta info () The input strings are terminated with '\n', and may not contain '\0', '\0xff' or '\n' characters. This is the default. Text output format () Lines are terminated with '\n', input string and meta info are separated by '\t'. Input and meta strings may not contain '\0', '\0xff', '\n' or '\t' characters. A terminating '\0' (if found) is removed from the end of the meta info. Text output format with numerical info () Lines are terminated with '\n', input string and meta info are separated by '\t'. Input strings may not contain '\0', '\0xff', '\n' or '\t' characters. Meta strings are unsigned integers ([0-9]+), which will be are retrieved from the binary representation in the automaton. Valid data sizes are 1, 2 or 4 bytes, for sizes other than these only the first 2 or 4 bytes are used. Binary output format, with base64 encoded meta info () Both the input string and meta info are terminated by '\0'. The input string must not contain the reserved characters '\0' and '\0xff'. The meta info is base64 encoded, as it may contain any character. Binary output format with raw meta info () Both the input string and meta info are terminated by '\0'. The input string must not contain the reserved characters '\0' and '\0xff'. The meta info must not contain '\0'. Text output format, with the perfect hash value instead of meta info () The format is the same as for text output with numerical info, but the perfect hash value for each string is used instead of meta info. Dot output format for visualization using GraphViz () Output a dot format graph, with the start and final states marked and edges labeled with transition symbols. The dot tool can be used to generate graphical output (e.g. PostScript) of the graph. Use this format for small automata only (a few hundred states or less), as the graph soon becomes quite complex. See also makefsa, fsainfo. Author Written by Peter Boros.