Hello,
I don't have any experience in shell programing.
I have to make a small but easy report from a html file in ksh.
I have a file called betrieb.html.
What I have to do is to grep for a pattern an the print the finded line + 3 lines. Is there anyone know how to do that ?
I print the line with akw with this, but I don't know how to print the next 3 lines (could not have more than 1 line found by the regular expression):
awk '/Report/' betrieb.html
Thanks for your help !
I don't have any experience in shell programing.
I have to make a small but easy report from a html file in ksh.
I have a file called betrieb.html.
What I have to do is to grep for a pattern an the print the finded line + 3 lines. Is there anyone know how to do that ?
I print the line with akw with this, but I don't know how to print the next 3 lines (could not have more than 1 line found by the regular expression):
awk '/Report/' betrieb.html
Thanks for your help !