ec_node_sh_lex_expand - Man Page

Create a shell lexer node with variable expansion.

Synopsis

#include <ecoli/node_sh_lex.h>

struct ec_node * ec_node_sh_lex_expand(
    const char       *id,     /* The node identifier. */
    /*
     * The child node. It is consumed and will be freed when the parent is
     * freed, or immediately on error.
     */
    struct ec_node   *child
);

Description

Same as ec_node_sh_lex() but with shell variable expansion enabled.

Return Value

The node, or NULL on error (errno is set).

See Also

ec_node_sh_lex(3),

Referenced By

ec_node_sh_lex(3).

2026-06-11 Libecoli Programmer's Manual