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



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

Answer / Jabar Singh

To exit an AWK script using the exit command, use: 'exit'.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Awk Interview Questions

Write a command remove all empty lines?

1 Answers  


What is the use of sequence v ?

1 Answers  


What is the use of format specifier %c ?

1 Answers  


What are AWK Numerical Functions?

1 Answers  


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

1 Answers  


What is the use of numeric function log ?

1 Answers  


What is the use of format specifier %% ?

1 Answers  


Write a command delete all line except first line?

1 Answers  


What are Conditional expressions in AWK?

1 Answers  


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

1 Answers  


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

1 Answers  


What is the use of string function gensub(r,s,h [,t])?

1 Answers  


Categories