ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Ilya Kurdyukov <ilyakurdyukov@basealt.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] egrep & fgrep
Date: Wed, 4 May 2022 00:38:44 +0700
Message-ID: <4f31707a-ee83-8778-a8bf-01c39e2cd950@basealt.ru> (raw)
In-Reply-To: <af580b6d-1426-e57b-5b5a-494cbc9aced3@gmail.com>

Очень некрасивый патч, я бы sed скрипт в одну строку использовал, если 
делается простая замена.

Или можно было свой egrep ссылающийся на grep -E в PATH добавить, если 
ворнинги беспокоят.

А потом если что изменится в исходнике, то придётся патч править.

On 5/4/22 00:16, Ruslandh wrote:
> 03.05.2022 18:26, Dmitry V. Levin пишет:
>> The egrep and fgrep commands, which have been deprecated since
>>    release 2.5.3 (2007), now warn that they are obsolescent and should
>>    be replaced by grep -E and grep -F.
>
> А можно от него избавиться (особенно) в скриптах ?
>
> PS rkhunter-1.4.7-egrep.patch пришлось такой патч делать
> https://git.altlinux.org/gears/r/rkhunter.git?a=tree;hb=1eb94dc714b01afd23a08d423eb5d93b8b9f1a0b 
> ;-)
>
> _______________________________________________
> Devel mailing list
> Devel@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/devel


  reply	other threads:[~2022-05-03 17:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-02  8:21 P X
2022-05-03 15:26 ` Dmitry V. Levin
2022-05-03 17:16   ` Ruslandh
2022-05-03 17:38     ` Ilya Kurdyukov [this message]
2022-05-03 17:56       ` Ruslandh
2022-05-03 18:36       ` Vladimir D. Seleznev
2022-05-04  2:10         ` Ilya Kurdyukov
2022-05-04 11:46           ` Sergey V Turchin
2022-05-04 20:53           ` Leonid Krivoshein

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=4f31707a-ee83-8778-a8bf-01c39e2cd950@basealt.ru \
    --to=ilyakurdyukov@basealt.ru \
    --cc=devel@lists.altlinux.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

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

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


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