[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#57604: [ef]grep usage -> POSIXLY_CORRECT?
From: |
Gary Johnson |
Subject: |
bug#57604: [ef]grep usage -> POSIXLY_CORRECT? |
Date: |
Wed, 7 Sep 2022 05:47:53 -0700 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On 2022-09-07, Simon Josefsson via Bug reports for GNU grep wrote:
> On the other hand, it seems your main problem here is the warning: and I
> agree that is annoying and should be fixed. There doesn't seem to be
> any way to disable it now? It would be nice to fix that.
>
> I think the simplest way to fix that is to drop the tools rather than to
> issue warnings: on some current systems (I think it was Alpine), there
> is no egrep and fgrep any more, and dealing with non-existing tools
> (discover the error, then use egrep -E or add a personal alias for
> interactive use) is easier than dealing with annoying warnings that
> cannot be disabled.
The warnings I see don't come from anything I've written; they've
been coming from third-party tools. I'd rather not modify those.
Disabling the warnings is fairly simple. Do one of the following.
1. Edit the egrep and fgrep scripts to remove the warnings.
2. Copy the egrep and fgrep scripts to ~/bin (someplace in PATH
earlier than where the grep installation put them) and edit
those copies to remove the warnings.
Regards,
Gary
- bug#57604: [ef]grep usage -> POSIXLY_CORRECT?, (continued)
- bug#57604: [ef]grep usage -> POSIXLY_CORRECT?, Jim Meyering, 2022/09/08
- bug#57604: [ef]grep usage -> POSIXLY_CORRECT?, Karl Berry, 2022/09/08
- bug#57604: [ef]grep usage -> POSIXLY_CORRECT?, Jim Meyering, 2022/09/11
- bug#57604: [ef]grep usage -> POSIXLY_CORRECT?, Sam, 2022/09/11
- bug#57604: [ef]grep usage -> POSIXLY_CORRECT?, Bruce Dubbs, 2022/09/11
- bug#57604: [ef]grep usage -> POSIXLY_CORRECT?, arnold, 2022/09/13
- bug#57604: [ef]grep usage -> POSIXLY_CORRECT?, Santiago Ruano Rincón, 2022/09/15
- bug#57604: [ef]grep usage -> POSIXLY_CORRECT?, Karl Berry, 2022/09/11
- bug#57604: [ef]grep usage -> POSIXLY_CORRECT?, arnold, 2022/09/07
- bug#57604: [ef]grep usage -> POSIXLY_CORRECT?, Simon Josefsson, 2022/09/07
- bug#57604: [ef]grep usage -> POSIXLY_CORRECT?,
Gary Johnson <=
- bug#57604: [ef]grep usage -> POSIXLY_CORRECT?, Karl Berry, 2022/09/07
bug#57604: [ef]grep usage -> POSIXLY_CORRECT?, Guillem Jover, 2022/09/09
- bug#57604: [ef]grep usage -> POSIXLY_CORRECT?, Paul Eggert, 2022/09/09
- bug#57604: [ef]grep usage -> POSIXLY_CORRECT?, Guillem Jover, 2022/09/16
- bug#57604: [ef]grep usage -> POSIXLY_CORRECT?, Jim Meyering, 2022/09/16
- bug#57604: [ef]grep usage -> POSIXLY_CORRECT?, Guillem Jover, 2022/09/16
- bug#57604: [ef]grep usage -> POSIXLY_CORRECT?, Simon Josefsson, 2022/09/16
- bug#57604: [ef]grep usage -> POSIXLY_CORRECT?, Jim Meyering, 2022/09/16