Article 6EMKD Sed or AWK

Sed or AWK

by
frrobert
from LinuxQuestions.org on (#6EMKD)
I have a file that is a markdown document.

Within the document there are 151 lines that start with

Code:### Psalm

this is the line I want to change

another line

another line.

I want to find the line ### Psalm and change a line below it to be enclosed in *

Code:### Psalm

*this is the line I want to change*

another line

another line.

I figured SED or AWK. Any suggestions would be appreciated.

Thanks
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments