Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 640364 - app-editors/vim-8: ex exits with failure code on success
Summary: app-editors/vim-8: ex exits with failure code on success
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-09 12:47 UTC by Lucian Poston
Modified: 2020-02-12 15:15 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (info,7.94 KB, text/plain)
2017-12-09 12:47 UTC, Lucian Poston
Details

Note You need to log in before you can comment on or make changes to this bug.
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