regarding about the (/) in the phrase

Hello,

I am trying to print lines from a text file using this command 
gawk '/Filename:/' 11.rtf >> 22.rtf

and it work ok.

but if the phrase has included forward (/) something like that

gawk '/File/name:/' 11.rtf >> 22.rtf

it give error . so is there any manipulation when it contain (/) in the phrase.

Many thanks

You have to escape special characters like the slash with a backslash:

gawk '/File\/name:/' 11.rtf >> 22.rtf