Created attachment 509018 [details] emerge --info Basic substitution ex commands are succeeding but returning 1, indicating failure. For example, the following returns 1 even though it succeeds. ex -sc '%s/foo/bar/|x' test.file Note, if you remove the -s flag, it returns 0 as expected. This bug occurs in vim-8 8.0.0386, vim-8.0.1298, and vim-9999. It doesn't occur in ubuntu's vim-7.3 nor arch linux's vim-8.0.1176.
Upstream bug: https://github.com/vim/vim/issues/5628