I have a file with data similar to this:
MTD Billed MTD Paid Unapplied MTD WOsYTD Billed YTD Paid Unapplied YTD WOs
William J. Smith
21,036.74 4,188.01 0.00 0.03193,961.13 199,11.91 0.00 80.03
Nancy Carlsbad
1,981.50 6,091.78 0.00 4,24.93121,385.50 106,004.63 0.00 5,224.34
Charles Cavern
16,695.82 12,900.32 0.00 0.00 70,615.00 85,714.27 0.00 0.00
I need to be able to output to a text file only the lines pertaining to "Nancy Carlsbad" (the lines ith her name and the following line directly below it). It is possible that her name may appear multiple times within the input file so I will need all lines where her name appears as well as the next line below her name in each instance.
How can I do this?
West