Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 640364

Summary: app-editors/vim-8: ex exits with failure code on success
Product: Gentoo Linux Reporter: Lucian Poston <lucianposton>
Component: Current packagesAssignee: 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

Description Lucian Poston 2017-12-09 12:47:51 UTC
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.
Comment 1 Lucian Poston 2020-02-12 15:15:45 UTC
Upstream bug: https://github.com/vim/vim/issues/5628