From: aartist <aartist@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Serching for pattern down one column
Date: Tue, 25 Nov 2008 05:47:57 -0800 (PST) [thread overview]
Message-ID: <1eb9d88f-e530-4108-9ad1-f5204c532925@f13g2000yqj.googlegroups.com> (raw)
In-Reply-To: mailman.1210.1227616965.26697.help-gnu-emacs@gnu.org
On Nov 24, 7:59 pm, ingvar <ing...@nanosi.com> 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 with
> the following:
>
> 1 0 0 1
> 1 1 0 0
> 0 1 1 1
> 1 1 1 1
> 0 0 1 0
> 0 0 0 0
>
> I now want to search for the pattern "111" in a column (it should find the
> 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-down-one-column-tp20673287...
> Sent from the Emacs - Help mailing list archive at Nabble.com.
Consider converting columns into rows and search via regexp.
next parent reply other threads:[~2008-11-25 13:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1210.1227616965.26697.help-gnu-emacs@gnu.org>
2008-11-25 13:47 ` aartist [this message]
2008-11-25 0:59 Serching for pattern down one column ingvar
2008-11-25 13:54 ` Paul R
2008-11-25 15:43 ` Peter Dyballa
[not found] ` <mailman.1221.1227627817.26697.help-gnu-emacs@gnu.org>
2008-11-25 16:29 ` Chris McMahan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1eb9d88f-e530-4108-9ad1-f5204c532925@f13g2000yqj.googlegroups.com \
--to=aartist@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).