![](https://seccdn.libravatar.org/avatar/a0e1a40ffc41de53fadcdfdeb23ce049.jpg?s=120&d=mm&r=g)
I need to extract some info from a text. Unfortunately the text is
written as a long paraqraph.
From each paragraph I need a certain string only.
In order to get this string easier to catch I would like to prepare the
text with sed, wherby I just want to replace a string with a new line
sed s/ertyuiop[................./\<newline>/
![](https://seccdn.libravatar.org/avatar/f9ce16691790eb907c24ce3347fdde03.jpg?s=120&d=mm&r=g)
Ronald Wiplinger wrote:
I need to extract some info from a text.
Use perl.
Unfortunately the text is written as a long paraqraph.
From each paragraph I need a certain string only.
If you explain exactly how the text is formatted, I can help you write the perl. Respond to me off list. -- John Douglas Porter
participants (2)
-
John Porter
-
Ronald Wiplinger