Deutsch English Français Italiano |
<vcn87g$1ua1q$2@paganini.bofh.team> View for Bookmarking (what is this?) Look up another Usenet article |
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 <anton.txt@gmail.moc> 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: <vcn87g$1ua1q$2@paganini.bofh.team> 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> 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 <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.