I want to grep the shortest match and the pattern should be something like:
<car ... model=BMW ...>
...
...
...
</car>
… means any character and the input is multiple lines.
I want to grep the shortest match and the pattern should be something like:
<car ... model=BMW ...>
...
...
...
</car>
… means any character and the input is multiple lines.