Bug 244205 - vi(1): -c option doesn't work correctly
Summary: vi(1): -c option doesn't work correctly
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 12.1-RELEASE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-17 22:50 UTC by Mohamed Akram
Modified: 2020-02-17 22:50 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mohamed Akram 2020-02-17 22:50:34 UTC
Try:

`echo foobar > file && nvi -e -c '/foo/p' file`

This was fixed upstream - https://github.com/lichray/nvi2/issues/65.