ecoli_node_sh_lex(3)

πŸ“¦
version 0.11.3 Β· 2 versions
, in epel 9

πŸ’… 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