I tried several commands and read a few tutorials, but none helped. I'm using gnu sed 4.2.2. I just want to search in a file for:
func1(int a)
{
I don't know if it is the fact of a newline followed by "{" but it just doesn't work. A correct command would help and with an explanation even more. Thanks!
Note: After "int a)" I typed enter, but I think stackoverflow doesn't put a newline. I don't want confusion, I just want to search func1(int a)'newline'{.