ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Boldin Pavel <boldin.pavel@gmail.com>
To: community@altlinux.ru
Subject: Re: [Comm] grep + hex
Date: Wed, 27 Apr 2005 17:23:59 +0500
Message-ID: <426F845F.40500@gmail.com> (raw)
In-Reply-To: <200504271602.47118.i92@mma.ru>

Igor пишет:

>Не могу найти ключи с помощью которых бы можно было заставить grep найти hex 
>данные в файле.
>Что-то типа
>cat a.bin | hex | grep "00 02 03",
>только одним grep-ом бы обойтись...
>Может кто подскажет. Спасибо.
>  
>

cat a.bin | grep "\00\02\03"

-- 

Болдин Павел aka davinchi

    ldavinchi@inbox.ru or davinchi@zu.org.ru

    ZU - Zagovor Unixoidov. SSAU 303.





  reply	other threads:[~2005-04-27 12:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-27 12:02 Igor
2005-04-27 12:23 ` Boldin Pavel [this message]
2005-04-27 12:31   ` Igor
2005-04-27 20:16 ` Yura Kalinichenko

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=426F845F.40500@gmail.com \
    --to=boldin.pavel@gmail.com \
    --cc=community@altlinux.ru \
    /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

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git