Add implementation of env command as an internal shell builtin.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
This has a few bugs. 'env' should only affect a single command, and it should only affect one command in the pipeline. The env should be reset for the next command in the pipeline. I'm drafting a patch to handle these edge cases, and I'll let you know when it lands.