From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: rustom Newsgroups: gmane.emacs.help Subject: Re: some vi equivalents please? Date: Sun, 2 Nov 2008 23:19:00 -0800 (PST) Organization: http://groups.google.com Message-ID: References: <987e361b-2efc-421b-8b36-4dcc67f1971e@z6g2000pre.googlegroups.com> <2f5cb1cc-c6ae-4f69-9589-d91ee639b042@i18g2000prf.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1225698096 3171 80.91.229.12 (3 Nov 2008 07:41:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Nov 2008 07:41:36 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 03 08:42:39 2008 connect(): Connection refused Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Kwu58-0001Gl-TA for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Nov 2008 08:42:39 +0100 Original-Received: from localhost ([127.0.0.1]:40003 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kwu42-0005wq-7E for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Nov 2008 02:41:30 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!s1g2000prg.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 37 Original-NNTP-Posting-Host: 220.225.70.2 Original-X-Trace: posting.google.com 1225696741 30195 127.0.0.1 (3 Nov 2008 07:19:01 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 3 Nov 2008 07:19:01 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: s1g2000prg.googlegroups.com; posting-host=220.225.70.2; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui User-Agent: G2/1.0 X-HTTP-Via: 1.1 PT-PROXY1, 1.1 PT-PROXY2 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:164027 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:59370 Archived-At: On Nov 2, 9:12=A0pm, "Drew Adams" wrote: > Again, please read up a bit on formatting. It's not a big deal. > > And questions/problems about the wiki itself are best brought up there, n= ot > here. You can pose questions and comments directly on the pertinent pages= (e.g. > ViEmacsTable), and there is a Problems link at the top and bottom of each= page, > for general wiki problems. > > It takes a little time to get to know the wiki, but it doesn't get any ea= sier > than this. ;-) Well Ok. Ive added somethings there and corrected some omissions. But there is one thing which is more appropriate here (I think) When I put n!!sort to sort the next n lines I was putting that merely as an example of a 2-way pipe. ie a command that takes its input from a bunch of vi lines and whose output goes in as a replacement. Of course its good to know about sort-lines but that is hardly general. One could want sort|uniq or sort|uniq|pr with all kinds of unixy command-line args peppered in -- a unix-shell programmer never ceases to find new pipelines that he never had imagined before. Also Xah mentioned that flush-lines is obsolete compared to delete- matching-lines. Since Im hearing of both for the first time I'll leave it to others to decide which is the recommended name. Frankly flush makes me think of fflush in C (or something less mentionable)