ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] [JT] Find files by content
@ 2005-08-25 12:02 Vitaly Ostanin
  2005-08-25 14:48 ` Dmytro O. Redchuk
  2005-08-26  4:32 ` Mike Lykov
  0 siblings, 2 replies; 7+ messages in thread
From: Vitaly Ostanin @ 2005-08-25 12:02 UTC (permalink / raw)
  To: ALT Linux Community

[-- Attachment #1: Type: text/plain, Size: 583 bytes --]

Здравствуйте.

Прошу прощения у тех, кому эти азы неинтересны.

Понадобилось найти файлы по содержимому. Где-то там в дебрях trac
скрывался debug :) Продолжая попытки слезть с mc (и его глючного
поиска), обнаружил вот такую простую команду:

grep -irn debug .

Где
-i - игнорирование регистра символов
-r - рекурсивный обход каталогов
-n - вывод номеров строк
debug - шаблон поиска
. - стартовый каталог поиска

По желанию можно добавлять '-C number' для вывода number строк
вокруг найденной.

-- 
Regards, Vyt
mailto:  vyt@vzljot.ru
JID:     vyt@vzljot.ru


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-09-01 15:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-25 12:02 [Comm] [JT] Find files by content Vitaly Ostanin
2005-08-25 14:48 ` Dmytro O. Redchuk
2005-08-26  4:32 ` Mike Lykov
2005-08-26  9:19   ` [Comm] " Vitaly Ostanin
2005-08-26  9:29     ` Michael Isachenkov
2005-08-26  9:47       ` Vitaly Ostanin
2005-09-01 15:14         ` [Comm] Re: [JT] imap :) Michael Shigorin

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