ecoli_node_sh_lex(3)
π ecoli_node_sh_lex(3) β a Libecoli moment
okay bestie so this is a page from Libecoli, and it's all about ecoli_node_sh_lex β the shell lexer node. it's giving "tiny API, big personality" ngl πβ¨
πΈ NAME
ecoli_node_sh_lex β Shell lexer node
- A lexer node using shell-like tokenization rules.
β¨ SYNOPSIS
Functions π«Ά
struct ec_node * ec_node_sh_lex (const char *id, struct ec_node *child)
struct ec_node * ec_node_sh_lex_expand (const char *id, struct ec_node
*child)
π¦ Detailed Description
A lexer node using shell-like tokenization rules. literally that's the whole vibe π
π Configuration Schema
No configuration schema. none. zero. empty. the config schema is not the main character here π
π Function Documentation
π struct ec_node* ec_node_sh_lex (const char * id, struct ec_node * child)
Create a shell lexer node. slay π
This node tokenizes the input using shell-like lexing rules (handling quotes, escapes, etc.) and passes the resulting tokens to the child node. it's literally the middleman of your dreams, no cap π₯
Parameters
idβ The node identifier.childβ The child node. It is consumed and will be freed when the parent is freed, or immediately on error.
β οΈ bestie listen: that child gets consumed. the parent owns it now. when the parent is freed, the child goes with it β or it gets freed immediately on error. no take-backsies π
Returns
The node, or NULL on error (errno is set). π
π struct ec_node* ec_node_sh_lex_expand (const char * id, struct ec_node * child)
Create a shell lexer node with variable expansion. the upgrade era β¨π
Same as ec_node_sh_lex() but with shell variable expansion enabled. so like, the same thing but it also does the variable thing. iykyk π§
Parameters
idβ The node identifier.childβ The child node. It is consumed and will be freed when the parent is freed, or immediately on error.
π«Ά same deal as above, fr fr β the child is consumed, freed with the parent or right away on error.
Returns
The node, or NULL on error (errno is set). π
β Author
Generated automatically by Doxygen for Libecoli from the source code. so nobody hand-wrote this and honestly? respect to the robot π€π
and that's the whole page, bestie π this was Version 0.11.3, dated Thu Apr 9 2026 β Libecoli era, iconic behavior, periodt πΈπ¦π
π¦ where this page comes from
- epel 9: libecoli-devel 0.11.3-1.el9 Β· BSD-3-Clause AND LicenseRef-Fedora-Public-Domain
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms