#!/bin/bash file="${1}" stag="${2}" max=0 open=0 grep -Po "