Expand description
shlex-based tokenization: word splitting, base command extraction, env var parsing.
Functionsยง
- base_
command - Extract the first real command word, skipping leading VAR=value assignments.
- env_
vars - Extract leading KEY=VALUE pairs from a command string.
- tokenize
- Tokenize a command segment into words using shlex (POSIX word splitting).