bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Use of deprecated 'egrep' and 'fgrep'


From: Sam James
Subject: Use of deprecated 'egrep' and 'fgrep'
Date: Wed, 28 Sep 2022 21:08:28 +0100

Hi,

grep 3.8 emits deprecation warnings for both 'egrep' and 'fgrep',
telling users to switch to 'grep -E' and 'grep -F' respectively.

The ncurses configure script seems to have a bunch of instances:
```

** Configuration summary for NCURSES 6.3 20220924:

       extended funcs: yes
       xterm terminfo: xterm-new

        bin directory: /usr/bin
        lib directory: /usr/lib
    include directory: /usr/include
        man directory: /usr/share/man
   terminfo directory: /usr/share/terminfo
 pkg-config directory: /usr/lib/pkgconfig

fgrep: warning: fgrep is obsolescent; using /bin/grep -F
fgrep: warning: fgrep is obsolescent; using /bin/grep -F
[...]
checking for linker search path... /usr/lib64/binutils/x86_64-pc-linux-gnu/2.39 
/usr/local/lib /lib /usr/lib
configure: creating ./config.status
config.status: creating include/MKterm.h.awk
fgrep: warning: fgrep is obsolescent; using /bin/grep -F
fgrep: warning: fgrep is obsolescent; using /bin/grep -F
fgrep: warning: fgrep is obsolescent; using /bin/grep -F
egrep: warning: egrep is obsolescent; using /bin/grep -E
egrep: warning: egrep is obsolescent; using /bin/grep -E
config.status: creating include/curses.head
fgrep: warning: fgrep is obsolescent; using /bin/grep -F
fgrep: warning: fgrep is obsolescent; using /bin/grep -F
fgrep: warning: fgrep is obsolescent; using /bin/grep -F
egrep: warning: egrep is obsolescent; using /bin/grep -E
egrep: warning: egrep is obsolescent; using /bin/grep -E
[..].
```

I know that newer autoconf has AC_PROG_EGREP
and AC_PROG_FGREP at least, but not sure if they're
available in the ncurses fork.

Best,
sam

Attachment: signature.asc
Description: Message signed with OpenPGP


reply via email to

[Prev in Thread] Current Thread [Next in Thread]