EC_NODE_SH_LEX(3)

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

πŸ’– EC_NODE_SH_LEX(3) πŸ’–

okay bestie, so we're in the Libecoli Programmer's Manual and this is the page for ec_node_sh_lex. it's giving "shell lexer node, but make it a whole personality." let's GO πŸ¦‹


✨ NAME ✨

ec_node_sh_lex β€” Create a shell lexer node.

🌸 SYNOPSIS 🌸

#include <ecoli/node_sh_lex.h>

struct ec_node * ec_node_sh_lex(
    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 πŸŽ€

okay so here's the tea β˜• β€” this node takes your input and tokenizes it using shell-like lexing rules. that means it handles quotes, escapes, etc., like the little shell-flavored icon it is πŸ‘‘

then it takes those resulting tokens and hands them over to the child node. passing the aux cord, if you will 🎧

πŸ’… RETURN VALUE πŸ’…

you get the node back β€” slay β€” or NULL on error, in which case errno is set. no cap. 😭

πŸ‘€ SEE ALSO πŸ‘€

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


k byeee πŸ’œ this page is from libecoli, dated 2026-06-11, and it's EC_NODE_SH_LEX(3) β€” periodt. 🫢✨

πŸ“¦ where this page comes from