🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.editors
Article #2855

Counting and appending an integer in VI?

#2855
From: R. Singh
Date: Wed, 26 Jun 1991 03:12
30 lines
674 bytes
Assume a file with 10 foxes.

foxes
foxes
foxes
foxes
foxes
foxes
foxes
foxes
foxes
foxes

I want to change it to

foxes1
foxes2
foxes3
foxes4
foxes5
foxes6
foxes7
foxes8
foxes9
foxes10

Is it possible in VI.

Thanx
Raminder $ingh
Technical Details
Message-ID: <1991Jun26.031232.29957@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: Counting and appending an integer in VI?
Message-ID: <1991Jun26.031232.29957@massey.ac.nz>
From: R.Singh@massey.ac.nz (R. Singh)
Date: Wed, 26 Jun 91 03:12:32 GMT
Organization: Massey University Computer Centre
Lines: 30