What is the Basic Structure of AWK program?

Answer Posted / pinky shan

BEGIN { print "START" }

{ print }

END { print "STOP" }

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of SUBSEP?

1075


EPFO 2009 result has come or not which is held in sep 2009, pls told me, I have ever asked you.

2010


How do you Explicit File output?

848


What is the use of string function asort(string,[d])?

884


What are Unary arithmetic operators?

868






What is the use of string function tolower(string)?

819


How to print only blank line of file?

468


How to Truncate Integers in AWK?

934


Write a command to print first and last line using sed command?

449


What is the use of string function substr(string,position) in AWK?

900


What is the use of string function match(string,regex)?

883


Which shell to use with AWK?

862


What is the use of OFMT?

1120


What is the use of systime function?

1031


How to display even number of records into one file and odd number of records into another file?

489