Sed help needed with openscap shell script

There is an OpenSCAP git project that should allow to scrape and then import errata from published CentOS lists:

The bootstrap shell script however dies on a syntax error:

[root@spacewalk]# ./
./ line 73: syntax error near unexpected token `|'
./ line 73: `            | sed -n 's|.*"\([^"]*\)".*CentOS-announce\ Digest*|'"$d/\\1|p" '

Open in new window

I've tried manipulating the sed statement several ways but admittedly my sed skills could be better.... can anyone tell me how to fix this issue?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Do you have an extra character after the \ on the previous line?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Gerwin Jansen, EE MVETopic Advisor Commented:
Try removing the single quote after the word Digest and move the last double quote to just before the last pipe symbol
Gerwin Jansen, EE MVETopic Advisor Commented:
No comment after 2 weeks and now just closing? How did you fix this? Was there an extra character?
ThaidogAuthor Commented:
The first comment worked. Your comment might have worked as well - but as you might be able to discern from no comment in two weeks - I'm extremely busy.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Shell Scripting

From novice to tech pro — start learning today.