🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.editors
Article #2854

Substituting on even or odd line numbers in VI?

#2854
From: R. Singh
Date: Wed, 26 Jun 1991 02:56
5 lines
570 bytes
Can you say, on every even line number, substitute something for something.
Or on every odd line number, execute a command.

Thanx
Raminder $ingh
Technical Details
Message-ID: <1991Jun26.025626.29367@massey.ac.nz>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!waikato.ac.nz!comp.vuw.ac.nz!cc-server4.massey.ac.nz!R.Singh

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!waikato.ac.nz!comp.vuw.ac.nz!cc-server4.massey.ac.nz!R.Singh
Newsgroups: comp.editors
Subject: Substituting on even or odd line numbers in VI?
Message-ID: <1991Jun26.025626.29367@massey.ac.nz>
From: R.Singh@massey.ac.nz (R. Singh)
Date: Wed, 26 Jun 91 02:56:26 GMT
Organization: Massey University Computer Centre
Lines: 6