]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
script/ceph-backport: Remove stray `\` from grep command 61233/head
authorAnoop C S <anoopcs@cryptolab.net>
Fri, 3 Jan 2025 11:58:18 +0000 (17:28 +0530)
committerAnoop C S <anoopcs@cryptolab.net>
Tue, 14 Jan 2025 06:06:50 +0000 (11:36 +0530)
commit3cec1036a5819a71906790290744a690b1a4ea88
tree78a9a4d28d27a4509aad1425163db1f37657c344
parent262221d35fd97c0a5ae4ae44390cce1735c9bd4f
script/ceph-backport: Remove stray `\` from grep command

GNU grep v3.8 release notes[1] has the following mention about the usage
of backslashes:

"Regular expressions with stray backslashes now cause warnings, as their
unspecified behavior can lead to unexpected results."
. . .
"The warnings are intended as a transition aid; they are likely to be
errors in future releases."

As a result we see the warning "grep: warning: stray \ before /" during
script execution. Therefore remove the extra `\` from grep command.

[1] https://git.savannah.gnu.org/cgit/grep.git/tree/NEWS#n85

Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
src/script/ceph-backport.sh