🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #267612

Re: vi: silence Invalid range with +n

#267612
From: Anton Shepelev
Date: Sat, 21 Sep 2024 19:53
16 lines
1810 bytes
Urs Janssen <urs@buil.tin.org> wrote:
>Joerg Mertens wrote:
>>> # vi -c'$' file
>>> 
>>> So you can just ignore the %N.
>>
>>... wich also won't work with followups, by the way.
>> Sorry for the noise.
>
>vim -c":silent! +%N" %F
>
>should work for vim/nvi

vim has it, but nvi does not, so perhaps the original vi did neither.
In nvi, which claims include a bug-for-bug reimplementation of vi,
`silent' is not documented and does not work.
Technical Details
Message-ID: <vcn87g$1ua1q$2@paganini.bofh.team>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!apf8.newsdeef.eu!nnrp.usenet.blueworldhosting.com!!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!newsfeed.bofh.team!paganini.bofh.team!not-for-mail
References: <vchp81$1bo2h$1@paganini.bofh.team> <1gzgk2lgv08eo$.dlg@v.nguard.lh> <vck7ih$1kifu$1@paganini.bofh.team> <vcm5bq$oku$1@nntp.de> <vcm7vo$1sm6e$1@paganini.bofh.team> <vcmk26$1kfii$1@jmertens.eternal-september.org> <vcmkij$1khns$1@jmertens.eternal-september.org> <vcmnbu$ums$1@nntp.de>

Show Full Headers
Complete Article Headers
Message-ID: <vcn87g$1ua1q$2@paganini.bofh.team>
Subject: Re: vi: silence Invalid range with +n
Date: Sat, 21 Sep 2024 19:53:20 +0000
From: Anton Shepelev <anton.txt@gmail.moc>
References: <vchp81$1bo2h$1@paganini.bofh.team> <1gzgk2lgv08eo$.dlg@v.nguard.lh> <vck7ih$1kifu$1@paganini.bofh.team> <vcm5bq$oku$1@nntp.de> <vcm7vo$1sm6e$1@paganini.bofh.team> <vcmk26$1kfii$1@jmertens.eternal-september.org> <vcmkij$1khns$1@jmertens.eternal-september.org> <vcmnbu$ums$1@nntp.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!apf8.newsdeef.eu!nnrp.usenet.blueworldhosting.com!!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!newsfeed.bofh.team!paganini.bofh.team!not-for-mail
Newsgroups: news.software.readers
Organization: To protect and to server
Sender: 9dIQLXBM7WM9KzA+yjdR4A
Injection-Date: Sat, 21 Sep 2024 19:53:20 -0000 (UTC)
Injection-Info: paganini.bofh.team; logging-data="2041914"; posting-host="WJi3VZ6YDT03B/ZmmBPfhA.user.paganini.bofh.team"; mail-complaints-to="usenet@bofh.team"; posting-account="9dIQLXBM7WM9KzA+yjdR4A";
User-Agent: tin/2.6.3-20231224 ("Banff") (FreeBSD/14.1-RELEASE (amd64))
X-Notice: Filtered by postfilter v. 0.9.3