EC_NODE_SH_LEX_EXPAND(3)

πŸ“¦
version 0.11.7 Β· 4 versions
, in fedora 44

✨ ec_node_sh_lex_expand(3) ✨

ok bestie, so this one lives in the Libecoli Programmer's Manual and it's literally the glow-up version of the shell lexer node πŸ’…


🌸 NAME 🌸

ec_node_sh_lex_expand β€” makes you a shell lexer node, but with variable expansion turned ON 🫢


πŸŽ€ 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 πŸ¦‹

It's giving... ec_node_sh_lex() energy, but with shell variable expansion enabled ✨ Same vibe, extra sparkle.


πŸ’– RETURN VALUE πŸ’–

You get the node back, or NULL on error β€” and no cap, errno gets set when that happens 😭


πŸ”₯ SEE ALSO πŸ”₯


Copyright (C) 2010-2026 Olivier Matz, Robin Jarry.


ok that's the whole thing, mwah πŸ’‹ libecoli dropped this one on 2026-06-11, and the page itself is EC_NODE_SH_LEX_EXPAND(3) β€” periodt πŸ’…βœ¨

πŸ“¦ where this page comes from