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 speciļ¬ed 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
. – Barmar Apr 7 '16 at 19:29{ }
code markup for sample input/output, not quotation. – Barmar Apr 7 '16 at 19:30