I have copy-pasted the JSON structure into a .txt file for my input file (I will have a number of these).
I'm looking for the "Name" text between "start" and "end", my input file is large and the parts I want to extract from look like this:
Here: "start",
        title: "Name",
        type: "end",
        words: "more words",
I've tried the following but it doesn't work.
input.txt < sed -n '/^start",$/,/^type: "end"$/p' data > output.txt
Thank you.
 
     
    