On 2016/03/06 10:56, Martin Natano wrote: > On Sun, Mar 06, 2016 at 05:32:16AM +0100, Martijn Dekker wrote: > > This simple patch makes 'set +o' compatible with the POSIX spec. > > Makes sense to me. However, I'm somewhat concerned this might break > existing shell scripts. Anyone here have a script that would break with > this change? Or a script that relies on POSIX behaviour and gets fixed > with this diff?
Given that most other shells do this, it seems unlikely that it will break anything. (dash and bash even put the output as "one option per line"). I'm ok with the diff and will fix things in ports as a result of it if necessary. https://codesearch.debian.net/results/%22set%20%5C%2Bo%22/page_0
