• Re: vi: silence Invalid range with +n

    From Anton Shepelev@21:1/5 to Urs Janssen on Sat Sep 21 19:53:20 2024
    Urs Janssen <[email protected]> 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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)