I’m a bit confused. Are the examples on top possible but discouraged in Oil, or do they only work in other shell languages?
Yes, the discouraged examples all work in Oil! I’ll make that clear at the top of the doc. This doc is if you want to write in the “legacy-free” style.