ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Это бага или фича?
@ 2004-08-13 13:05 Eugene A. Suchkov
  2004-08-13 13:11 ` Alexey I. Froloff
  0 siblings, 1 reply; 5+ messages in thread
From: Eugene A. Suchkov @ 2004-08-13 13:05 UTC (permalink / raw)
  To: community

Привет всем!

[root@gate quarantine]# grep 'X-Amavis-Alert: INFECTED' *| awk 
{'print($6)'} | sort
bash: /bin/grep: Argument list too long
[root@gate quarantine]#

В чем проблема? Файлов много стало?

[root@gate quarantine]# ls | wc -l
4086

Месяц назад все в порядке было :(

-- 
Best regards
Eugene A. Suchkov
*** ICQ 177787156
Корпорация "Парус"
Саратовское региональное отделение



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

* Re: [Comm] Это бага или фича?
  2004-08-13 13:05 [Comm] Это бага или фича? Eugene A. Suchkov
@ 2004-08-13 13:11 ` Alexey I. Froloff
  2004-08-13 13:16   ` Eugene A. Suchkov
  0 siblings, 1 reply; 5+ messages in thread
From: Alexey I. Froloff @ 2004-08-13 13:11 UTC (permalink / raw)
  To: ALT Linux Community

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

* Eugene A. Suchkov <cityhawk@> [040813 17:05]:
> [root@gate quarantine]# grep 'X-Amavis-Alert: INFECTED' *| awk 
> {'print($6)'} | sort
> bash: /bin/grep: Argument list too long
> [root@gate quarantine]#

> В чем проблема? Файлов много стало?
Да.

find . -maxdepth 1 -mindepth 1 -type f -print0 |
	xargs -r0 grep 'X-Amavis-Alert: INFECTED' -- |
	awk {'print($6)'} |
	sort

-- 
Regards, Sir Raorn.
-------------------
> Очень интересно, когда же появится релиз ядра 2.4.20 от ALT Linux.
Не ранее чем пройдёт внутриофисное тестирование.
Пока никак не проходит.
		-- ldv in sisyphus@

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [Comm] Это бага или фича?
  2004-08-13 13:11 ` Alexey I. Froloff
@ 2004-08-13 13:16   ` Eugene A. Suchkov
  2004-08-13 13:20     ` Alexey I. Froloff
  0 siblings, 1 reply; 5+ messages in thread
From: Eugene A. Suchkov @ 2004-08-13 13:16 UTC (permalink / raw)
  To: community

Alexey I. Froloff пишет:

>> [root@gate quarantine]# grep 'X-Amavis-Alert: INFECTED' *| awk 
>> {'print($6)'} | sort bash: /bin/grep: Argument list too long 
>> [root@gate quarantine]# В чем проблема? Файлов много стало?
> 
> Да.

Ага... А почему так?

> find . -maxdepth 1 -mindepth 1 -type f -print0 | xargs -r0 grep
> 'X-Amavis-Alert: INFECTED' -- | awk {'print($6)'} | sort

Работает, спасибо...


-- 
Best regards
Eugene A. Suchkov
*** ICQ 177787156
Корпорация "Парус"
Саратовское региональное отделение



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

* Re: [Comm] Это бага или фича?
  2004-08-13 13:16   ` Eugene A. Suchkov
@ 2004-08-13 13:20     ` Alexey I. Froloff
  2004-08-13 13:24       ` Eugene A. Suchkov
  0 siblings, 1 reply; 5+ messages in thread
From: Alexey I. Froloff @ 2004-08-13 13:20 UTC (permalink / raw)
  To: ALT Linux Community

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

* Eugene A. Suchkov <cityhawk@> [040813 17:17]:
> >>[root@gate quarantine]# grep 'X-Amavis-Alert: INFECTED' *| awk 
> >>{'print($6)'} | sort bash: /bin/grep: Argument list too long 
> >>[root@gate quarantine]# В чем проблема? Файлов много стало?
> >Да.
> Ага... А почему так?
Длина командной строки ограничена.

-- 
Regards, Sir Raorn.
-------------------
>Где можно взять этот драйвер?  Я посмотрю, что там можно допилить для
>его сборки.
Перевожу:
"не фиг чайникам собирать модули ядра в пакеты".
		-- rider in devel@

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [Comm] Это бага или фича?
  2004-08-13 13:20     ` Alexey I. Froloff
@ 2004-08-13 13:24       ` Eugene A. Suchkov
  0 siblings, 0 replies; 5+ messages in thread
From: Eugene A. Suchkov @ 2004-08-13 13:24 UTC (permalink / raw)
  To: community

Alexey I. Froloff пишет:

>>>>[root@gate quarantine]# grep 'X-Amavis-Alert: INFECTED' *| awk 
>>>>{'print($6)'} | sort bash: /bin/grep: Argument list too long 
>>>>[root@gate quarantine]# В чем проблема? Файлов много стало?
>>>Да.
>>Ага... А почему так?
> 
> Длина командной строки ограничена.

Спасибо...

-- 
Best regards
Eugene A. Suchkov
*** ICQ 177787156
Корпорация "Парус"
Саратовское региональное отделение



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

end of thread, other threads:[~2004-08-13 13:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-13 13:05 [Comm] Это бага или фича? Eugene A. Suchkov
2004-08-13 13:11 ` Alexey I. Froloff
2004-08-13 13:16   ` Eugene A. Suchkov
2004-08-13 13:20     ` Alexey I. Froloff
2004-08-13 13:24       ` Eugene A. Suchkov

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