doubt in AWK

Hi all,

column1
\--------

33
44
55 
66  

please provide the script using awk command to dispaly output 55.

Help apperciated..

thanks,
Nirmal

awk '$0==55' input_file_name 

Hi jim ,

Thank u for ur reply..

The value 55 is unknown to me...if this is a case what is the script to display 55 using awk command.

Thanks,
Nirmal.

The requirement was to display the record (the line) that was 55.

'$0==55' is awk-talk for:
if the whole record = 55 then print the whole record.

This sounds too much like homework. Please don't post homework questions, it is against the forum rules.