i've a issue that i mentioned at the title.
There are lines in my file like:
<Hi>
<Test>
<Test2>
</Test2>
</Test>
</Hi>
So i need to get "Hi" tag's whole content. But i don't have a gnu grep and can't install it i'm not root on the machine. I can use only :
Usage: grep -hblcnsviw pattern file . . .
So can't use -A and -B commands or other gnu grep commands, can you please show me a way out..
Thanks in advance..