I have the following text..
[start]
this
is my line
[end]
My output should be:
this
is my line
Need help..
Tried a combination of :
sed -n '/start/,/end/p' $File & sed -e "s/]/']/" -e "s/\[/['/" $file
but it brings up the pattern too.