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 ARGV ?

1054


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

1997


What are Assignment Operators?

817


What are Regular Expressions in AWK?

844


How to exit from an awk script using the exit command?

872






Write a command to print all line except first line?

453


Which shell to use with AWK?

847


What is the use of ARGIND?

1005


How to execute an AWK script?

857


What are Dynamic Variables?

856


What is the use of SUBSEP?

1057


What are AWK Numerical Functions?

795


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

928


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

874


What is the use of string functiong sub(regex,replacement)?

850