pattern matching using awk.

Dear Team,

How do we match two patterns on the same line using awk?Are there any logical operators which i could use in awk like awk '\gokul && chennai\' <filename>

Eg:

Input file:

gokul,10/11/1986,coimbatore.
gokul,10/11/1986,bangalore.
gokul,12/04/2008,chennai.
gokul,13/65/3456,chennai

Output i require.

gokul,12/04/2009.chennai
gokul,13/65/3456,chennai.

Please help me.:b:

Hi gokulj!

as far as I understood, you want to print all strings which contain two (or more expressions at the same time), the following will do

awk '/your_expr1/ && /your_expr2/' your_file

awk '/^gokul.*chennai.$/' file