Path: 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: How do i write this macro under VI Message-ID: <1991Apr11.232907.21795@massey.ac.nz> From: news@massey.ac.nz (USENET News System) Date: Thu, 11 Apr 91 23:29:07 GMT Reply-To: R.Singh@massey.ac.nz (R. Singh) Organization: Massey University Computer Centre Lines: 19 A couple of macros, I wanted advice on 1) Go to the beginning of every line and delete the first 25 characters. 2) Find a particular pattern and delete to a particulate pattern for example if you have lines like -a info-mac/app/00app-abstracts.abs -a info-mac/apple/00apple-abstracts.abs and want -a 00app-abstracts.abs -a 00apple-abstracts.abs meaning in every line of the file, delete from info-mac to 00. Thanx Raminder Singh