pw-apply: Adjust author search to ignore quotation marks
Ignore ' and " in From when extracting author for the merge message.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
diff --git a/pw-apply b/pw-apply
index c9a7ade..7c7b468 100755
--- a/pw-apply
+++ b/pw-apply
@@ -144,7 +144,7 @@
// {if (!h && !t) print}
/^$/ {h=0} ')
author=$(cat cover.i |
- sed -n 's/^From: \([A-Za-z. -]*[a-z]\).*$/\1/p' |
+ sed -n 's/^From: ['"'"'"]\?\([A-Za-z. -]*[a-z]\).*$/\1/p' |
tail -1)
fi