Skip to content

Conditionals && and || weren't working as expected

Michael Aaron Murphy requested to merge drosseau:master into master

Created by: drosseau

If you ran false && echo and || echo or you should have gotten "or" echoed, but instead nothing was coming out. It was caused by advancing these iterators. It looks like those lines were added here, but I'm not exactly sure why. It references &|, but that seems to work fine without them.

Also added that examples script to help make sure they're still working in the future.

Merge request reports