That&#x27;s great, and quite concise. I didn&#x27;t get further than a sed query to filter the correct paragraphs, and then replace .* with a group filter (WR|DV|P8) to narrow the search:<p>$ sed -rne &#x27;&#x2F;L337.*9$&#x2F;,&#x2F;^$&#x2F;p&#x27; vehicles