Summary: | app-editors/vim-8: ex exits with failure code on success | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Lucian Poston <lucianposton> |
Component: | Current packages | Assignee: | Vim Maintainers <vim> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | kfm, lucianposton |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | emerge --info |
Upstream bug: https://github.com/vim/vim/issues/5628 |
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.