home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!samsung!crackers!jjmhome!applix!jimr
- From: jimr@applix.com (Jim Rouleau [ext 256])
- Newsgroups: comp.editors
- Subject: Counter in VI?
- Message-ID: <1623@applix.com>
- Date: 13 Aug 92 14:15:38 GMT
- Organization: Applix, Inc., Westboro, MA
- Lines: 22
-
- Is there any way to implement a counter in VI?
- What I'd like to do is take something like this:
-
- #define a 1
- #define b 2
- #define c 3
- .
- .
- #define z 26
-
- to become
-
- #define a 0
- #define b 1
- #define c 2
- .
- .
- #define z 25
-
- Any way to do this besides manually??
-
- jimr
-