]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa,src: replace deprecated egrep/fgrep with grep -E/grep -F 68095/head
authorLumir Sliva <lumir.sliva@firma.seznam.cz>
Sun, 29 Mar 2026 12:39:07 +0000 (14:39 +0200)
committerLumir Sliva <lumir.sliva@firma.seznam.cz>
Sun, 29 Mar 2026 12:39:07 +0000 (14:39 +0200)
commit8b9dbb50d08c6e4f2ca5a444ffcbabc658ec8090
treec8ede5390295892f110ea31b0e4459e30f3a567a
parent82a0c7796fb5428f2e01129413aafae6b5e6eeaf
qa,src: replace deprecated egrep/fgrep with grep -E/grep -F

egrep and fgrep are deprecated and emit warnings on modern systems:

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

Replace all occurrences of egrep with grep -E and fgrep with grep -F
across shell scripts, Python files, and YAML configs. These are
POSIX-defined equivalences with identical behavior.

Fixes: https://tracker.ceph.com/issues/75776
Signed-off-by: Lumir Sliva <lumir.sliva@firma.seznam.cz>
17 files changed:
qa/standalone/mon/osd-crush.sh
qa/standalone/scrub/osd-scrub-repair.sh
qa/suites/rados/singleton/all/recovery-preemption.yaml
qa/tasks/ceph.py
qa/tasks/rook.py
qa/workunits/rbd/cli_generic.sh
qa/workunits/rbd/journal.sh
qa/workunits/rbd/kernel.sh
qa/workunits/rbd/krbd_fallocate.sh
qa/workunits/rbd/luks-encryption.sh
qa/workunits/rbd/rbd-nbd.sh
qa/workunits/rbd/test_admin_socket.sh
qa/workunits/rgw/test_rgw_d4n.py
qa/workunits/rgw/test_rgw_datacache.py
src/ceph_common.sh
src/init-ceph.in
src/rgw/rgw-orphan-list