9fans / plan9port

Plan 9 from User Space
https://9fans.github.io/plan9port/
Other
1.61k stars 319 forks source link

rc: make eflag respect bang #589

Open dallinjdahl opened 1 year ago

dallinjdahl commented 1 year ago

setting the -e flag already ignores the left side of || and &&. This enhances it so that it delays checking the result until after processing the !. This is invaluable when using grep in mkfiles, when you want to invert the pipeline and fail the task.