Please help, i have been studying sed, awk, grep command for long time now i could not figure out how to solve this problem. I have a log file in unix, i was to print start from a given regular expression until another expression. FOr example
<!--##
[USERID | 2019-10-25 13:07:39,399 | SIBJMSRAThreadPool : 4 | Android-Transactionname-1572023259140 | -]
Request On
Accept: text/xml
Cache-Control: no-cache
Pragma: no-cache
Content-Type: text/xml
User-Agent: NNOS-CCF
Connection: keep-alive
Content-Length: 1792
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >
<soapenv:Header>
<wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext" soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0"
>
<wsse:UsernameToken>
<wsse:Username></wsse:Username>
<wsse:Password></wsse:Password>
</wsse:UsernameToken>
##-->
<!--##
[USERID | 2019-10-25 13:07:41,264 | SIBJMSRAThreadPool : 2 | Android-Transactionname-1572023260299 | -]
Request On
Accept: application/json
Cache-Control: no-cache
Pragma: no-cache
Content-Type: application/json
Connection: keep-alive
Content-Length: 327
I want to just output text starting from Android-Transactionname-1572023259140 to ##-->