User Defined Functions in awk - English

2206 visits



Outline:

Syntax of user defined function Syntax of function call Example to print stipend Explanation of if-else code Explanation of how to call the function Syntax of return statement Example to calculate average of an array Explanation of local variables Explanation of return value of the function call Explanation of reverse function