powerpc: unrel_branch_check.sh: convert grep | sed | awk to just sed
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 11 Aug 2020 14:04:31 +0000 (00:04 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 2 Sep 2020 01:00:22 +0000 (11:00 +1000)
commit3d97abbc9f6fe90973551f3e3eef47ffef863114
treea5be4e4422e4e2ee5e4bf1d4658083272bdbe823
parent4e71106c343c625c0bf72a65b244e35e7d2cd037
powerpc: unrel_branch_check.sh: convert grep | sed | awk to just sed

Also start using sed -E and make all the separate expressions into a
single one with comments.  Pull the stripping of condition registers
back into the sed command.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200811140435.20957-5-sfr@canb.auug.org.au
arch/powerpc/tools/unrel_branch_check.sh