Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!samsung!umich!sharkey!msuinfo!midway!chsun1!lee From: lee@chsun1.uchicago.edu (dwight lee) Newsgroups: comp.editors Subject: vi: search for or go to a line not of length n Summary: Repairing uuencoded file. Want to use vi. Keywords: vi search goto uudecode Message-ID: Date: 25 Sep 90 08:50:27 GMT Sender: news@midway.uchicago.edu (News Administrator) Organization: University of Chicago Lines: 16 A BITNET site sent me a uuencoded binary, and it showed up in my mailbox with blanks at the ends of lines stripped, and some lines concatenated. I'd like to use vi to patch the file up so that it can be properly decoded. Most uuencoded lines are 61 characters long. I'd like to be able to search for a line that isn't 61 characters long. Any reasonably automated method will do! Regexps, macros... anything. Also, is there a way for a search in vi to be inverted? ie "search for the next line which does not begin with a capital M". This would also be good for checking on mangled uuencoded files. Feel free to suggest an alternate method of repair, too. Thanks to you all! - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Dwight A Lee / lee@chsun1.uchicago.edu / 815-758-1389 / tCS/BB / Font I speak only for myself. / "I am not the only dust my mother raised" - TMBG