ctdb: Do not use egrep
commit862fc5770cb672e91622fdfc01a46dc155a8c723
authorMartin Schwenke <mschwenke@ddn.com>
Mon, 10 Jul 2023 22:03:22 +0000 (11 08:03 +1000)
committerAmitay Isaacs <amitay@samba.org>
Wed, 19 Jul 2023 09:01:33 +0000 (19 09:01 +0000)
tree83973d8c67a150bea3ec969ecb32c75b9961b7d1
parent4deb178eb3e1c3236cc9a272336909305af0ad77
ctdb: Do not use egrep

On some platforms, egrep prints a deprecation warning to stderr:

  egrep: warning: egrep is obsolescent; using grep -E

Use grep -E instead.

This is nice and simple, so no use splitting this commit into 2
separate commits for each of tools and test.

Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/CLUSTER/complex/scripts/local.bash
ctdb/tests/INTEGRATION/simple/cluster.090.unreachable.sh
ctdb/tools/ctdb_diagnostics