From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: aartist Newsgroups: gmane.emacs.help Subject: Re: Serching for pattern down one column Date: Tue, 25 Nov 2008 05:47:57 -0800 (PST) Organization: http://groups.google.com Message-ID: <1eb9d88f-e530-4108-9ad1-f5204c532925@f13g2000yqj.googlegroups.com> References: 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 1227624136 13154 80.91.229.12 (25 Nov 2008 14:42:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Nov 2008 14:42:16 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 25 15:43:18 2008 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 1L4z8A-0004Dz-EH for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Nov 2008 15:43:10 +0100 Original-Received: from localhost ([127.0.0.1]:37781 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L4z70-0000mu-RK for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Nov 2008 09:41:58 -0500 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news2!postnews.google.com!f13g2000yqj.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Original-NNTP-Posting-Host: 68.197.26.151 Original-X-Trace: posting.google.com 1227620878 23909 127.0.0.1 (25 Nov 2008 13:47:58 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 25 Nov 2008 13:47:58 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: f13g2000yqj.googlegroups.com; posting-host=68.197.26.151; posting-account=WwaeAgoAAADmWT5YXN5d6o6-Vgorvs1L User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:164756 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:60088 Archived-At: On Nov 24, 7:59=A0pm, ingvar wrote: > I have a file with binary numbers in colums. Is there any way in emacs to > search for a specific pattern in a column? For example I have the file wi= th > the following: > > 1 =A00 =A00 =A01 > 1 =A01 =A00 =A00 > 0 =A01 =A01 =A01 > 1 =A01 =A01 =A01 > 0 =A00 =A01 =A00 > 0 =A00 =A00 =A00 > > I now want to search for the pattern "111" in a column (it should find th= e > pattern in column 2 rows 2-4 and column 3 rows 3-5). Does anyone know how= to > do it? > > -- > View this message in context:http://www.nabble.com/Serching-for-pattern-d= own-one-column-tp20673287... > Sent from the Emacs - Help mailing list archive at Nabble.com. Consider converting columns into rows and search via regexp.