I have a text file and I would like to extract the two lines of data following a line containing only "Name" as a value.
Name
032
Express intent to engage in diplomatic cooperation (such as policy
support)
Description
Name
033
Express intent to provide material aid, not specified below
Description
So, the output from above would be a file that has:
032 Express intent to engage in diplomatic cooperation (such as policy support)
033 Express intent to provide material aid, not specified below
-A
option togrep
.{ }
code markup for sample input/output, not quotation.