title: How to extract specific text from JSON using BASH
body: <p>I have copy-pasted the JSON structure into a .txt file for my input file (I will have a number of these).</p>
  
  <p>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:</p>
  
  <pre><code>Here: "start",
          title: "Name",
          type: "end",
          words: "more words",
  </code></pre>
  
  <p>I've tried the following but it doesn't work.</p>
  
  <pre><code>input.txt &lt; sed -n '/^start",$/,/^type: "end"$/p' data &gt; output.txt
  </code></pre>
  
  <p>Thank you.</p>