You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Pipeline function stage drops prefix (temporary) assignments entirely #1765
Found by the fix7/carrier cluster while fixing #1620 (see ~/workspace/rubash-fix7/clusters/carrier/REPORT.md, sibling findings).
Divergence (vs GNU bash 5.3.20)
$ a=0;f() { echo$a; }; a=9 f | catrubash: 0GNU: 9
Compound append prefix assignments in a pipeline function stage are dropped the same way. execute_function_pipeline_stage never applies command.assignments when building the stage's execution state, so the function body sees the outer values.
Careful with the adjacent GNU rule: prefix assignments before a function call in a NON-pipeline context persist after the function returns. Any fix must hold both faces.
Regression seed: the repro above plus append/array prefix shapes in a pipeline stage, and the non-pipeline persistence face, asserted with GNU expectations.
Destination
Dedicated fix cluster dispatched by the main session this round (fix8/fix9 pipeline-tempenv), regression tests named with this issue number.
Activity
Merge pull request #1804 from unixwin/fix9/funcstage-tempenv
Merge master a9385b4 into fix6/pipe-diag (pipe-diag integration)