Path: utzoo!attcan!uunet!zaphod.mps.ohio-state.edu!usc!elroy.jpl.nasa.gov!ucla-cs!maui.cs.ucla.edu!gast From: gast@maui.cs.ucla.edu (David Gast) Newsgroups: comp.editors Subject: Re: Global Empty Line Removal in vi? Message-ID: <1991Jan28.014157.5388@cs.ucla.edu> Date: 28 Jan 91 01:41:57 GMT References: <1991Jan24.172344.28877@Veritas.COM> <2692@wn1.sci.kun.nl> <1991Jan25.182043.10324@cs.uiuc.edu> Sender: news@cs.ucla.edu (Shemp News Account) Organization: UCLA Computer Science Department Lines: 27 Nntp-Posting-Host: maui.cs.ucla.edu In article <1991Jan25.182043.10324@cs.uiuc.edu> joshi@cs.uiuc.edu (Anil Joshi) writes: >>But using 1G!Gcat -s is easier. >What a pain to do such a simple thing in vi. >ISPF solution is >exclude blank lines >delete all exculded lines ^^^^^^^^ Why do you say that? 1G!Gcat -s is 11 characters including the return. Your solution (if I counted correctly) is 46 characters including the returns. That means that your solution is almost 4 times as long. Further, your solution is not correct. You typed ``exculded'' instead of ``excluded.'' While anyone can make a mistake, the more typing necessary, the more likely it is that there will be a mistake. This newsgroup is primarily devoted to Unix editors. If you think that many people want to discuss ISPF, why not start alt.editors.ispf? Even when I have to use a PC clone, I use vi. David Gast gast@cs.ucla.edu {uunet,ucbvax,rutgers}!{ucla-cs,cs.ucla.edu}!gast