+73
−7
+26
−4
+3
−0
+247
−2
Loading
Found while building git with fresh as /bin/sh:
- builtins that change shell state (read, cd, export, eval, ., ...) and
shell functions run in-process when they carry redirections, so
"read A B <<EOF" and "read x <file" keep their variables
- a heredoc body inside "{ ... }" is data: a "};" line no longer closes
the group
- "} >file" / '} >"$OUT"' (glued) redirect the group
- unquoted heredoc bodies run $(...) and `...`
- "${line#$cmd - }": the word stays whole (its '}' no longer closes an
enclosing function) and the pattern is expanded
- $PWD is set at startup
- expr: "STRING : REGEX", match, length, substr, index
Co-Authored-By:
Claude Opus 5.5 <noreply@anthropic.com>