Path: ...!feeds.phibee-telecom.net!2.eu.feeder.erje.net!feeder.erje.net!newsfeed.bofh.team!paganini.bofh.team!not-for-mail From: Anton Shepelev Newsgroups: news.software.readers Subject: Re: vi: silence Invalid range with +n Date: Sat, 21 Sep 2024 19:53:20 -0000 (UTC) Organization: To protect and to server Sender: 9dIQLXBM7WM9KzA+yjdR4A Message-ID: References: <1gzgk2lgv08eo$.dlg@v.nguard.lh> 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 Bytes: 1590 Lines: 15 Urs Janssen 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.