The BASH Parse

Name

The BASH Parse -- 

Synopsis



gboolean    parse_tree_check_option         (GNode *node,
                                             const gchar *program,
                                             const gchar *option);
gchar*      parse_tree_get_producer_program (GNode *tree);

Description

Details

parse_tree_check_option ()

gboolean    parse_tree_check_option         (GNode *node,
                                             const gchar *program,
                                             const gchar *option);

Check if the given program has the option by the parse tree. This function checks only the leftmost instance of the command.

node :

the root node of the parse tree

program :

the name of the program

option :

the short or long option

Returns :


parse_tree_get_producer_program ()

gchar*      parse_tree_get_producer_program (GNode *tree);

tree :

Returns :